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 209 pact-jvm issues
Sort by recently updated
recently updated
newest added

When executing tests in my Android test target, using Robolectric I get the following error: `java.lang.NoSuchMethodError: org.apache.http.conn.ssl.SSLSocketFactory.(Lorg/apache/http/conn/ssl/TrustStrategy;)V at au.com.dius.pact.consumer.BaseMockServer.waitForServer(MockHttpServer.kt:88) at au.com.dius.pact.consumer.BaseMockServer.runAndWritePact(MockHttpServer.kt:105) at au.com.dius.pact.consumer.ConsumerPactRunnerKt.runConsumerTest(ConsumerPactRunner.kt:13) at au.com.dius.pact.consumer.junit.BaseProviderRule.runPactTest(BaseProviderRule.java:163) at au.com.dius.pact.consumer.junit.BaseProviderRule.access$100(BaseProviderRule.java:27) at au.com.dius.pact.consumer.junit.BaseProviderRule$1.evaluate(BaseProviderRule.java:83) at...

bug

It seems current version pact maven plugin hasn't supported record-deployment/release yet. https://docs.pact.io/pact_broker/recording_deployments_and_releases/ could you support it? as maven developers use pact maven plugin a lot.

https://docs.pact.io/implementation_guides/jvm/provider/spring/#example-of-mockmvc-test I have similar implementation based on this doc, however, I am using json format, how I can mention state in json and when different interaction I want to mock...

According to the [documentation](https://docs.pact.io/implementation_guides/jvm/provider/gradle/#tagging-the-provider-before-verification-results-are-published-401) you can publish tags when verifying a contract via `providerTags`. I've found that specifying `providerTags` in the `pact` Gradle task does not work ``` pact {...

bug

In the README of pact-jvm Github repo it says that 4.2.x is compatible with Java 11-15. But when I try to run my provider tests using gradle I get the...

Is there a way to provide a service provider name and yet exclude some consumers from the pact verification? So, for the pact-maven-plugin ``` xyx-provider --> pulls in all provider...

When I run `gradle pactVerify -Ppact.verifier.publishResults=true` I am getting an error: `Your project is misconfigured, was expecting a 'pact' configuration in the build, but got a String with value ''...

When you're using the JUnit wrapper and you are missing a state handler, the wrapper helpfully tells you what the state annotation should be. However, if the state string has...

Hi, I have an example project (https://github.com/QAJungle/vertx-testing-example) where I have a Vertx application. I'm doing pact testing. One of the problems is that when I launch a GetABookByISBNPactTest GetABookByNamePactTest or...

With junit5 [DefaultTestResultAccumulator](https://github.com/pact-foundation/pact-jvm/blob/master/provider/src/main/kotlin/au/com/dius/pact/provider/TestResultAccumulator.kt) log incorrectly warn messages. `AfterTestExecutionCallback` trigger `TestResultAccumulator#updateTestResult` after each executed test method. This function also evaluate count of `unverifiedInteractions` and if those are not empty log warn...