Skip to content

ismail2ov/spring-boot-3-consumer-driven-contract-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example of Consumer Driven Contract Testing with Spring Boot 3

This is a straightforward example demonstrating how to use Spring Cloud Contract to establish a contract between two Spring Boot 3 applications: one acting as the Producer and the other as the Consumer of a REST API.

Producer

Create the stubs

  • Compile and install the stubs
 mvn clean install -pl catalog

Consumer

  • Compile and package the consumer
 mvn clean package -pl shop

About

Example of Consumer Driven Contract Testing with Spring Boot 3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published