Microservices interactions are hard to verify. You often end up with tests that are not trustworthy or too hard to set up. Contract testing is an alternative approach that offers both compelling execution speed and confidence level that isolated tests are not able to reach. But there are more benefits: contract testing can speed up your development workflow and help understand how your systems are connected.
We will see a minimal working example using Kotlin and Pact framework, explore how much you can gain depending on the effort you invest and take a wider look on the contract testing ecosystem, by comparing Pact with Spring Cloud Contract.