Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 409 Bytes

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