requirements - fast feedback Disadvantages: - you can go to production with passing tests but failing badly - the used services are mocked which might nothing to do with the reality
/ Messaging stubs are doing exactly what the actual server-side implementation will do - Provides a way to publish changes in contracts that are immediately visible - Promotes acceptance test driven development - Generates boilerplate test code used on the producer side
We can run WireMock within our Java application • Has the ability to return canned HTTP responses for requests matching criteria • We can run the WireMock server in its own process