Hey there! Say I have the following scenario: I h...
# general
k
Hey there! Say I have the following scenario: I have a contract test between
Service A (consumer)
and
Service B (provider)
. However, in this particular test, and for the particular endpoint we're exercising,
Service B (provider)
makes an additional call to its own provider,
Service C
. My question is: Has anyone encountered this and worked out a solution where you can still run the contract test with
Service B (provider)
running in isolation, without the need for
Service C
to be running concurrently?
m
Yes this is totally normal. You should stub C in your provider B verification, and have pact tests between B and C
k
That was the direction we were already going, so it's awesome having validation that we're following the right path. 🙂 Thanks, Matt!
🙌 1