Skip to content

yuriy1715/contractTestingExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pact-example

This is an example contract testing project using PACT

Usage

Setup

$ npm i

Run consumer side tests and create pacts

$ npm run test-consumer

Start Pact Broker

$ npm run pact-broker

Delete pact (if exist)

$ npm run delete-pact

Publish pacts

$ npm run publish-pacts

Verify pacts against the provider

$ npm run test-provider

Run all circle of tests

$ npm run test

About

This is an example contract testing project using PACT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published