staticImports - array with static imports that should be included in generated tests(for example ['org.myorg.Matchers.*']). By default empty array []
basePackageForTests - specifies base package for all generated tests. By default set to org.springframework.cloud.verifier.tests
+basePackageForTests - specifies base package for all generated tests. If not set the value will be picked from baseClassForTests’s package and from
+`packageWithBaseClasses. If neither of these are set then the value will be set to org.springframework.cloud.contract.verifier.tests
baseClassForTests - base class for all generated tests. By default spock.lang.Specification if using Spock tests.
testMode - defines mode for acceptance tests. By default MockMvc which is based on Spring’s MockMvc. It can also be changed to JaxRsClient or to Explicit for real HTTP calls.
basePackageForTests - specifies base package for all generated tests. By default set to org.springframework.cloud.verifier.tests.
basePackageForTests - specifies base package for all generated tests. If not set the value will be picked from baseClassForTests’s package and from
+`packageWithBaseClasses. If neither of these are set then the value will be set to org.springframework.cloud.contract.verifier.tests
ruleClassForTests - specifies Rule which should be added to generated test classes.
@@ -9686,6 +9689,32 @@ all mappings available in a singleHttpServerStub. Related to
issue 355.
+The flow for setting the generated tests package name will look like this:
+pick basePackageForTests
if basePackageForTests wasn’t set pick the package from baseClassForTests
if baseClassForTests wasn’t set pick packageWithBaseClasses
if nothing got set pick the default org.springframework.cloud.contract.verifier.tests value
Related to +issue 260.
+