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 Spring Boot Provider

This repo contains an example of consumer-driven-contract testing for a Spring Boot API provider. The corresponding consumer to the contract is implemented in the module pact-angular.

The contract is created and verified with Pact.

Before running the build, you need to follow the instructions on the consumer-side to create the consumer-driven contract file (pact file).

Running the application

The interesting part in this code base is the class UserControllerProviderTest. 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.