reecetech / pactman

Pact management (mocking, generation and verification)
Other
90 stars 37 forks source link

Pytest handling for non-existing pacts on Provider side #115

Open afshimono opened 2 years ago

afshimono commented 2 years ago

When we run pytest for a consumer-provider, given those are registered in the Pact Broker, if no pacts are available we get an error in our tests. Same thing happens if no results are found for a specific tag.

Perhaps the desired behavior when no pacts are found, for any given tag (or none), is to actually pass the tests?

afshimono commented 2 years ago

Bumping @richard-reece for some feedback. Can I try to implement this one? =D