Hey team :wave: I'm almost certain that the answe...
# general
j
Hey team 👋 I'm almost certain that the answer is no, but wanted to triple check before I share with my team. When you write consumer side tests, is it possible to specify multiple provider states in the given block ? For example, how would you go about creating a given block for a scenario that required --> given "a product with ID 10 exists" & "a user with ID 5 exists" ? Any help appreciated. Ta!
m
well you’re cause for minor uncertainty is valid - because you can.
In the Pact Spec V3, you can have multiple provider states (that may optionally also contain parameters)
j
Thanks Matt! I knew that my research wasn’t sufficient. Appreciate the timely help 🙌🏻 🙏🏻
🙌 1