Example Consumer-Driven Contract tests in node.js
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Lucas Majerowicz
Lucas Majerowicz updated readme
Latest commit 93db54a Oct 3, 2016
Permalink
Failed to load latest commit information.
app readme Oct 2, 2016
pacts first commit Sep 30, 2016
.babelrc first commit Sep 30, 2016
.gitignore first commit Sep 30, 2016
README.md updated readme Oct 3, 2016
package.json first commit Sep 30, 2016
webpack.config.js first commit Sep 30, 2016

README.md

#Better Testing of Microservices Using Consumer-Driven Contracts in Node.js

Accompanying blog post here

Installation

Clone repository and run

npm install

Usage

Run consumer-side tests

mocha app/client/spec/PostServiceClient.spec.js

Run provider-side tests

node app/service/spec/PostService.spec.js