pact-foundation / pact_broker

Enables your consumer driven contracts workflow
http://pactflow.io
MIT License
708 stars 174 forks source link

Support running a single interaction when verifying a pact #686

Open canny[bot] opened 4 months ago

canny[bot] commented 4 months ago

The pact ruby implementation allows the user to replay a single interaction from a pact at a time. This makes it much easier to fix failing interactions as pacts can get quite large, and there can be a lot of noise when reporting the failure of every interaction at once. The pact ruby implementation is being replaced by the pact rust shared core, which does not yet support this feature. I think we should work out how we could add support for it. The interactionId field that is added by the Pact Broker is suitable for this purpose.

It is possible that this might be best implemented as a Pact Broker feature by passing through another parameter in the 'pacts for verification' call.

https://pact.canny.io/admin/board/feature-requests/p/support-running-a-single-interaction-when-verifying-a-pact

canny[bot] commented 4 months ago

This issue has been linked to a Canny post: Support running a single interaction when verifying a pact :tada: