Getting started with PACT testing
What I learned today — 29 March 2018
1 min readMar 29, 2018
Contract testing by example with PACT is consumer driven. This means that the consumer (making requests to an API) defines its expectations which get output to a pact file. The provider (which implements the API) then agrees to the pact by implementing its API to conform to the pact described by the pact file. Later the pact between the consumer and the provider can be verified to ensure they still adhere to the contract.