Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Outline

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.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.