Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 526 Bytes

README.md

File metadata and controls

47 lines (31 loc) · 526 Bytes

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