Skip to content

coder-society/contract-testing-nodejs-pact

Repository files navigation

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

About

Sample repository showing consumer-driven contract testing with Node.js and Pact.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published