Skip to content

A minimum demo to show how to use pact-jvm for consumer driven contract test

Notifications You must be signed in to change notification settings

tongzh/pact-jvm-minimum-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A minimum pact jvm demo

Dependency

  • pact-jvm
  • spring boot
  • maven

Running the consumer

cd /pact-consumer
mvn test

This will create a pact file in target/pacts.

Running the provider

Start the provider application

cd /pact-provider
mvn spring-boot:run

Run the pact verification in a separate window/process

cd /pact-provider
mvn pact:verify

About

A minimum demo to show how to use pact-jvm for consumer driven contract test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published