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

Allow the interaction for a particular provider state to be selected where multiple responses are found #33

Open
canny bot opened this issue Jun 26, 2024 · 1 comment

Comments

@canny
Copy link

canny bot commented Jun 26, 2024

If a pact has "a request for an order" given "an order exists" and, "a request for an order", given "an order does not exist", the first successful response will always be returned, meaning that you can't use the stub server to test error flows. The stub server could provide an endpoint to allow the response to the next request to be pre-selected by the provider state name.

https://pact.canny.io/admin/board/feature-requests/p/allow-the-interaction-for-a-particular-provider-state-to-be-selected-where-multi

Copy link
Author

canny bot commented Jun 26, 2024

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

0 participants