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.
When using the plugins framework, it would be useful to be able to add provider states to a pact, so that the provider can correctly set up their tests. (.given() in the consumer legacy DSL as documented here, and @State on the provider side as documented here.)
The PactBuilderclass (example usage here) currently does not implement .given(), or an equivalent.
When using the plugins framework, it would be useful to be able to add provider states to a pact, so that the provider can correctly set up their tests. (
.given()
in the consumer legacy DSL as documented here, and@State
on the provider side as documented here.)The
PactBuilder
class (example usage here) currently does not implement.given()
, or an equivalent.