Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
afshimono opened this issue Jul 1, 2022 · 1 comment
Open

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

afshimono opened this issue Jul 1, 2022 · 1 comment

Comments

@afshimono
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant