Skip to content
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
.editorconfig
.env
.gitignore
LICENSE
README.md
package-lock.json
package.json

README.md

Consumer-driven Contracts

Contains the consumer-driven contract tests against the JSONPlaceholder API.

Usage

Install dependencies:

npm i

Run tests:

npm test

Development

Contracts

Create the contracts in test/helper/contracts which exports an object with the request and schema keys.

Requests

The value for the request can be provided by faker.

Responses

The validation of the response can be done with Joi.

You can’t perform that action at this time.