Verifying Pact Contracts on the Provider Side
In the previous post, checkout’s test suite generated a real contract file describing two interactions with the payment service, an authorized payment and a declined one. That file sitting in target/pacts proves nothing about payment’s actual behavior yet. This post covers the other half of Pact, taking that same file and replaying it against payment’s real implementation. Adding the Provider Dependency On the payment service side, add Pact’s provider JVM module. ...