Open source · API & Integration

API Contract Fixture Runner

Run endpoint fixtures against request, response and error contracts.

v0.1.0 · Node.js 22+ · MIT

Browse the public repository · View releases

Check API fixtures against a contract: the request each fixture sends, the response it expects, and — optionally — what a local in-process mock answers. Every body mismatch carries a JSON Pointer to the field.

This walkthrough uses the tool's public README and checked-in example files. Run the command from a repository checkout with Node.js 22+.

Run the checked-in example

node bin/api-contract-fixture-runner.mjs --plan examples/clean/plan.json

Read the result

Unknown evidence is never a pass. pass with checked: 0 is not reachable: a run that reached a verdict on nothing emits no-cases-checked and exits 2.