pact-example
This is an example application for demonstrating the use of pact and consumer driven contract testing.
The codebase was created for the blogpost TBA.
Usage
Setup
$ git clone [email protected]:RisingStack/pact-example.git
$ npm iRun consumer side tests and create pacts
$ npm run test-consumerStart Pact Broker
$ npm run pact-brokerDelete example pact
$ npm run delete-example-pactPublish pacts
$ npm run publish-pactsVerify pacts against the provider
$ npm run test-providerCompatibility
The codebase was written using node v8.9.0
