Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Consumer-Driven-Contract Test for a Feign Consumer

This repo contains an example of consumer-driven-contract testing for a Feign client that consumes a REST API provided by the module pact-spring-data-rest-provider.

The contract is created and verified with Pact.

Companion Blog Post

The Companion Blog Post to this project can be found here.

Running the application

The interesting part in this code base is the class ConsumerPactVerificationTest. You can run the tests with gradlew test on Windows or ./gradlew test on Unix.