Skip to content
SPECIFICTION
Get listed

BBC Consumer Contracts vs ContractCase

BBC Consumer Contracts

github.com

ContractCase

case.contract-testing.io

Side by side

FigureBBC Consumer ContractsContractCase
Price fromFree—
Free planYes—
Free trial——
Open source——
APIYesYes
Self-hostedYes—
Plans published10
Spec score · Contract Testing Tools8.1 (#8)7.5 (#17)
PurposeConsumer Contracts lets API consumers define executable JavaScript contracts describing the responses they expect from services.ContractCase is a consumer-driven contract testing framework for checking whether services can communicate as expected.

Plans

BBC Consumer Contracts

  • Consumer ContractsFree

BBC Consumer Contracts pricing →

ContractCase

No plans published.

ContractCase pricing →

In their own words

BBC Consumer Contracts

BBC Consumer Contracts is a free JavaScript package for executable consumer-driven API contracts. It describes the requests a consumer makes and the responses expected in return. Every contract requires consumer, name, request, and response properties. The package uses the request HTTP client and Joi schemas to check response status codes, headers, and JSON bodies. Optional before and after functions support setup and cleanup, using callbacks or asynchronous functions. Retry behavior accepts numeric or custom settings; the documented default maximum is zero. The consumer-contracts run command validates contracts recursively in a contracts directory or runs one named file. Programmatic callers can pass an array to validateContracts, which runs every contract instead of stopping at the first failure. Installation instructions cover global CLI use and local pnpm development dependencies. It requires Node.js 18 or later and pnpm 10 or later, and supports API and self-hosted use under Apache License 2.0.

Visit github.com

ContractCase

ContractCase has no write-up on Specifiction yet; its figures are above.

Visit case.contract-testing.io