Replies: 2 comments 1 reply
-
Same question in a different repo |
Beta Was this translation helpful? Give feedback.
-
this is a code smell, and isn't solely a Pact issue. If you have tests that depend on the outcome of other tests you are going to have a hard time testing
Utilise provider states, to setup the correct state for the provider, for testing each individual scenario. https://docs.pact.io/provider/using_provider_states_effectively eg create a product and no product exists, create a product and product exists, try to create a product which already exists. The state will be the world in your Arrange part of the triple A's in test (Arrange, Act, Assert) |
Beta Was this translation helpful? Give feedback.
-
we have 2 microservices.
About the Issue
Example
abc
abc
abc
Execution Order of those requests
Beta Was this translation helpful? Give feedback.
All reactions