JVM version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project.
This works fine and those properties are read by my Pact tests. However, I would like to do the same with pact.verifier.publishResults, but without success. Instead, I need to set it via JVM properties: System.setProperty("pact.verifier.publishResults", "true");.
Expected behaviour
When setting pact.verifier.publishResults in my properties file, the test would pick the boolean value up from there.
Actual behaviour
When setting pact.verifier.publishResults in my properties file, the value is always false because it is the default.
Hi,
Currently, I am abstracting away pactbroker configuration in a properties.yml file, like this:
This works fine and those properties are read by my Pact tests. However, I would like to do the same with
pact.verifier.publishResults
, but without success. Instead, I need to set it via JVM properties:System.setProperty("pact.verifier.publishResults", "true");
.Expected behaviour When setting pact.verifier.publishResults in my properties file, the test would pick the boolean value up from there.
Actual behaviour When setting pact.verifier.publishResults in my properties file, the value is always false because it is the default.
Same behaviour applies to
pact.provider.version
.Regards,
Bart