pact-net
pact-net copied to clipboard
.NET 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.
**Version information:** - PactNet Version: 5.0.0-beta.2 **Describe the bug** See https://github.com/pact-foundation/pact-reference/issues/389 **Additional context** This blocks the full release of PactNet 5.0.0
I'm trying to implement a simple provider test using pact-broker as the pact source. But I get a certificate verification error when connecting to the broker, although I use `WithSslVerificationDisabled`....
I'm using 5.0.0-beta.1 to send data to pact. In logs there is info "Pact verification successful" but in logs ``` 2024-01-26T08:26:23.083017Z ERROR ThreadId(09) pact_verifier::pact_broker: Failed to push branch develop for...
When there is a request mismatch in a consumer test, the error message is hidden away in the logs or in the response to the failing API test: ``` HTTP/1.1...
This PR aims to add partial support for Multipart/form-data requests to be added to the Pact File. It introduces a WithMultipartSingleFileUpload() method that allows the user to to specify a...
Following the tutorial for implementing V3, I found that the client returns an internal server error when trying to use a regex matcher in the header. Seems like it's not...
When verifying a messaging pact scenario using WithContentAsync, the factory Func is invoked before a POST to /provider-states has completed. To reproduce, create a dotnet 7 console app. Add a...
Please support `--fail-if-no-pacts-found` in verifier configuration
Hello all! I'm working with pact-net as a provider using pactflow which has some bi-directional testing, and ran into an interesting issue. We recently added authentication to our API, and...
We have a multi-targeted test project (`net472` and `netcoreapp3.1`) containing PACT Consumer tests. The tests fail to run for the `net472` on our Ubuntu-based build image. The image has dotnet...