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 Spring Data Rest Provider

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.

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 ProviderPactVerificationTest. You can run the tests with gradlew test on Windows or ./gradlew test on Unix.