pact-foundation / pact-net

.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.
https://pact.io
MIT License
832 stars 230 forks source link

Can someone please update the pact verification docs? #301

Open bethesque opened 3 years ago

bethesque commented 3 years ago

These are a bit out of date, and don't show the difference between "verifying a single pact at a URL" (used for webhook flow) and "verifying all the pacts for a provider" (normal provider CI).

https://docs.pact.io/implementation_guides/net/readme#publishing-provider-verification-results-to-a-broker

If someone can also add the two different configurations to a new Pact.NET section is this page, that would also be great https://docs.pact.io/provider/recommended_configuration#verification-triggered-by-provider-change

Thanks!

yossarian123 commented 1 year ago

yes, this would be really helpful. I'm not able to find any documentation on how to verify a single pact at a URL.

mefellows commented 1 year ago

I'm assuming it's this file source that is needed: https://github.com/pact-foundation/pact-net/blob/master/src/PactNet/Verifier/PactVerifierProvider.cs#L31