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

Could you please point me to some example for writing message queue pact tests. If clojure examples are not possible then java example will also work. I am having trouble...

A raw array "eachLike": ```groovy withBody eachLike(1) { type regexp('.*', 'banana') } ``` produces: ```json [ { "type": "banana" } ] ``` A named array "eachLike": ```groovy withBody { fruits...

Today, PactRunner runs all interactions at the same time. I would like the ability to programmatically pick a subset interactions to run. These interactions could be identified by their names....

I’d like to write a consumer jvm test for a Graphql provider and I’m curious how I’d include the equivalent of `{"query":"query Search{search(query: \"Drake\" types: [AR]) {items {id}}}"}` in the...

Hello, We have a scenario, where a provider test (Java, Junit5, Pact Broker & Quarkus-Test as API-Provider) should be executed in CI/CD. Therefor, the provider name should be set from...

Currently you can specify one single tag using the environment variable "-Dpact.provider.tag". However sometimes is necessary to support multiple tags. It would be a nice addition either to support comma...

We have pact verifications in the Provider, where the `@State` annotation are named with arbitrary names, trying to specify the pre-conditions. From the State's name, we cannot determine the endpoint...

**CanIDeploy** can be used with `--retry-while-unknown` parameter to poll Pact Broker until verification result be published https://docs.pact.io/pact_broker/client_cli/readme#can-i-deploy _gradle_ _PactCanIDeployTask_ has no such capability `au.com.dius.pact.provider.gradle.PactCanIDeployTask`

This simple example run as instrumented test in an Android project ```kotlin import au.com.dius.pact.consumer.ConsumerPactBuilder import org.junit.Test class PactTest { @Test fun pact() { ConsumerPactBuilder .consumer("An Android App") .hasPactWith("A Backend") .uponReceiving("a...

Calling `PactDSLJsonBody#numberType(String name, Number number)` and then overriding the property (using the same `name`) with `PactDSLJsonBody#nullValue(String name)`, does not reset the generators, so the generated pact file stills expects the...