The first section I'm adding to pact testing is ba...
# general
y
The first section I'm adding to pact testing is based on pub-sub events via a message broker. I wonder what the best practice - is to verify the contract - to mock the API call that triggers the message broker insertion or its enough to push it at the closest point to the publish message?
m
Either is okay but I'd take the path that most closely mimics a unit test (so the latter)
1