Class GenerateTestsMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.springframework.cloud.contract.maven.verifier.GenerateTestsMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="generateTests", defaultPhase=GENERATE_TEST_SOURCES, requiresDependencyResolution=TEST) public class GenerateTestsMojo extends org.apache.maven.plugin.AbstractMojo
From the provided directory with contracts generates the acceptance tests on the producer side.
Author:
Mariusz Smykula
  • Constructor Details

    • GenerateTestsMojo

      public GenerateTestsMojo()
  • Method Details

    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException
    • mappingsToMap

      public Map<String,String> mappingsToMap()
    • getExcludedFiles

      public List<String> getExcludedFiles()
    • setExcludedFiles

      public void setExcludedFiles(List<String> excludedFiles)
    • getIgnoredFiles

      public List<String> getIgnoredFiles()
    • setIgnoredFiles

      public void setIgnoredFiles(List<String> ignoredFiles)
    • isAssertJsonSize

      public boolean isAssertJsonSize()
    • setAssertJsonSize

      public void setAssertJsonSize(boolean assertJsonSize)