pact-net icon indicating copy to clipboard operation
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.

Results 37 pact-net issues
Sort by recently updated
recently updated
newest added

A PR to support provider states handling directly from a middleware in .NET core. (using a similar approach as the messaging middleware) So far the middleware, once registered in the...

I am writing a contract test for a post method where I need to upload a file in request Body as 'form-data'. I didn't see any multipart content specific function...

feature request

Enable generator type provider state. Now rust is support provider state injection I have proved it on my client project. I'll write some usage sample probably inside existing EventAPI.

It's so simple, in fact it's trivial, but it's something you end up having to copy and paste over and over so it's probably better as a tiny NuGet package....

Added arm64 ffi lib for M1 Mac's See #347 for history

BrokerSource (and UriSource in the future #392 ) have capability to publish verification results to the broker. However underlying implementation might fail to publish the results (for many reasons), and...

bug
upstream

Pact 4.0.0 NET 5 In Azure Pipeline ubuntu 18.04 agent throws this error System.DllNotFoundException : Unable to load shared library 'pact_ffi' or one of its dependencies. In order to help...

bug
upstream
ffi

The README still has a link to this [old workshop](https://github.com/DiUS/pact-workshop-dotnet-core-v3/), which is quite outdated relative to the current status of this project. Ideally, this workshop is updated to reflect the...

help wanted
documentation

Hi , I found a post for JVM https://pactflow.io/blog/injecting-values-from-provider-states/ where we can modify the request before the validation, but is there a mechanism in C#?

feature request

When using `.WithJsonBody`, would be nice to be able to pass in a `System.Text.Json.JsonSerializerOptions` body. Another solution would be not to serialize the when the body is already a string...

enhancement
feature request
breaking-change