Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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.

Releases

No releases published

Packages

No packages published