Skip to content
SPECIFICTION
Get listed

BBC Consumer Contracts vs Stubborn Contract

BBC Consumer Contracts

github.com

Stubborn Contract

stubborn.sh

Side by side

FigureBBC Consumer ContractsStubborn Contract
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
APIYesYes
Self-hostedYesYes
Plans published12
Spec score · Contract Testing Tools8.1 (#8)7.3 (#19)
PurposeConsumer Contracts lets API consumers define executable JavaScript contracts describing the responses they expect from services.Stubborn Contract is the official continuation of Spring Cloud Contract, providing consumer-driven contract testing for HTTP and message-based interactions.

Plans

BBC Consumer Contracts

  • Consumer ContractsFree

BBC Consumer Contracts pricing →

Stubborn Contract

  • Open-source coreFree
  • Enterprise PartnershipPriced on request

Stubborn Contract 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

Stubborn Contract

Stubborn Contract is the official continuation of Spring Cloud Contract, providing consumer-driven contract testing for HTTP and message-based interactions. The contract-testing core and Stubborn Broker OSS use the Apache 2.0 license and are free to use, modify, and deploy. YAML, Groovy, Java, and Kotlin formats are supported, and existing Groovy DSL, YAML, and Java DSL contracts can remain during migration. Contracts can be published through Maven or Gradle plugins or the CLI. Stubborn Broker verifies contracts across branches and services and offers a CI-oriented can-i-deploy check. Listed Broker capabilities include branch-aware governance, AI contract creation from captured HTTP traffic, and MCP integration for AI agents, with SDKs for Java, Kotlin, JavaScript, and TypeScript. Version 0.1.2 adds Spring-free Kafka, RabbitMQ, and JMS building blocks and runs on Java 17 or later. An OpenRewrite recipe automates mechanical migration. Broker can run locally with Docker on port 8080.

Visit stubborn.sh