Skip to content

Files

Latest commit

5b07b20 · Nov 4, 2020

History

History
12 lines (9 loc) · 409 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 409 Bytes

Contract Testing with Node.js and Pact

We discuss this repository in this article in detail: https://codersociety.com/blog/articles/contract-testing-pact

The repository contains sample order server (provider.js) and an order client (consumer.js). It also includes a contract testing setup using mocha and pact.

Run contract tests

To run the contract tests, execute the command below:

npm test