This repo contains an example of consumer-driven-contract testing for a Spring
Data REST API provider. The corresponding consumer to the contract is
implemented in the module pact-feign-consumer.
The contract is created and verified with Pact.
The Companion Blog Post to this project can be found here.
The interesting part in this code base is the class ProviderPactVerificationTest.
You can run the tests with gradlew test on Windows or ./gradlew test on Unix.