Hi all, Just wanted confirmation regarding provid...
# pact-go
n
Hi all, Just wanted confirmation regarding provider states. Pact only calls the next provider state when the previous one successfully returns (no panic or return error) correct? I.e. provider states are always synchronously executed in the order they were specified in the contract, correct?
m
I’m not sure the order in the contract is guaranteed. But they are called synchronously before the test is called, yes, and subsequent states won’t be called if one fails
n
Thank you 👍
👍 1