pact-jvm icon indicating copy to clipboard operation
pact-jvm copied to clipboard

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.

Results 221 pact-jvm issues
Sort by recently updated
recently updated
newest added

`@Pact` can also be used for methods that return `MessagePact` See https://github.com/pact-foundation/pact-jvm/blob/c002e9a977c09e0c677df97cbdb252d3ea02cea5/core/model/src/main/kotlin/au/com/dius/pact/core/model/annotations/Pact.kt#L7

You say [Pact follows Pastel's law](https://docs.pact.io/getting_started/matching/gotchas#pact-follows-postels-law) but then why would I ever have to specifiy `stringType` when I can read any other type as string? Shouldn't `primitiveType` be better?

The reader of your documentation should be introduced to the "right" way to write tests before learning the "wrong" way.

We are trying to publish verification results to the pact broker and using the following command: `lein with-profile pact pact-verify :pact.verifier.publishResults=true` but it doesn't work. `Version used: au.com.dius.pact.provider/lein "4.1.42" `

The path expression isn't being generated properly for date keys that contain forward slashes. Example: ```java private Consumer populateJson(Collection defaults) { return json -> { json.object("defaults", defs -> { defaults.stream().forEach(d...

bug

Hi Currently I am trying to migrate from the old pact-jvm-consumer-junit5 (version 4.0.10) to the new au.com.dius.pact.consumer (version 4.6.3) I noticed that in the examples and documentation for the new...

question

Hi, I've been checking the pact-jvm-provider-maven code, and could not see if there is an option to have some sort of a junit-style "@beforeAll" and "@afterAll", where it will execute...

enhancement

We are not able to publish tags to PACT Broker from Consumer JUnit Test in the version 3.3.8. Is there any plan to include the future?

enhancement

Sorry for the noob question, but I can't seem to get plain text request body to match the result. Changing to json works fine, so I'm not sure what I'm...

enhancement

Hi I am migrating to latest pact-consumer library: ``` au.com.dius.pact.consumer junit5 4.6.3 ``` My PactDsl creation looks like: ``` return pactDslWithProvider .given("myProviderState") .uponReceiving("interactionDescription") .path("/path/resource/blabla") .method("POST") .headers(setRequestHeaders()) .body("{\"anyField\":\"anyResource\"}") .willRespondWith() .status(400) .headers(setResponseHeaders())...

bug