Contract tests

Checks that a provider API still matches what each consumer expects.

Mandatory for 3 of 46 product types. Usually run by a developer.

What it catches

What it misses

Which product types need it and why

Status of contract tests on every published playbook, with the risk ids or the condition behind it.
Product typeStatusReason or condition
accounting and invoicing SaaSmandatoryRisks: Fine or enforcement by a regulator
buy now pay later servicemandatoryRisks: Money leaves or fails to arrive
SDK or client librarymandatoryRisks: Third-party dependency fails
clinical trial management softwarerecommendedBecomes mandatory when a study uses more than one external data provider.
crypto exchangerecommendedBecomes mandatory when trading API changes have broken market maker bots.
data pipelinerecommendedBecomes mandatory when a source team can change its schema without notice.
e-signature servicerecommendedBecomes mandatory when customers' systems depend on envelope status callbacks.
ecommerce storerecommendedBecomes mandatory when a second payment or shipping provider is added.
electronic health record systemrecommendedBecomes mandatory when a lab, pharmacy or second record system consumes the system's interfaces on its own release schedule.
email marketing platformrecommendedBecomes mandatory when partners sync contacts through the API.
ERP systemrecommendedBecomes mandatory when a third feeder system is added.
EV charging apprecommendedBecomes mandatory when more than one roaming partner is connected.
identity and access management servicerecommendedBecomes mandatory when a claim change breaks relying apps in a recorded incident.
insurance apprecommendedBecomes mandatory when more than one data vendor feeds the rating engine.
lending platformrecommendedBecomes mandatory when underwriting reads more than one external data provider.
LLM-based assistantrecommendedBecomes mandatory when more than one model provider or model version sits behind the assistant.
online marketplacerecommendedBecomes mandatory when the payment provider or shipping label provider changes its API version.
machine learning model servicerecommendedBecomes mandatory when outside clients integrate with the endpoint.
mobile banking apprecommendedBecomes mandatory when the bank plans a core platform migration or supplier change.
pharmacy delivery apprecommendedBecomes mandatory when a second claims or courier provider is added.
ride-hailing apprecommendedBecomes mandatory when rider and driver apps release on different schedules from the backend.
subscription box servicerecommendedBecomes mandatory when a second billing provider or payment method is added.
stock trading apprecommendedBecomes mandatory when more than one market data source feeds the same screen.
travel booking apprecommendedBecomes mandatory when a supplier changes its booking API and bookings fail or show wrong details.
messaging appoptionalMay help when desktop and web clients release on a different schedule from the API.
dating appnot neededNot needed: one team owns the app and its API. Becomes recommended when a partner app or web client consumes the same API.
desktop applicationnot neededNot needed: no attached risk comes from API changes. Becomes recommended when the app depends on a versioned backend API used by other clients.
expense management toolnot neededNot needed as a separate test: issuer data is checked by integration cases. Becomes recommended when the tool exports to several accounting systems.
fleet and logistics trackingnot neededNot needed: devices and apps talk to one first-party API. Becomes recommended when third-party tracker brands are supported.
government services portalnot neededNot needed: the portal is the only consumer of its backend API. Becomes recommended when several agencies consume the portal API.
grocery delivery appnot neededNot needed: one team owns the shopper app, picker app and API. Becomes recommended when partner retailers connect through a public API.
smart home or IoT appnot neededNot needed: the app talks to one first-party device API released with it. Becomes recommended when third parties build on the device API.
kids appnot neededNot needed: one team owns the app and its backend. Becomes recommended when partners consume the API.
language learning appnot neededNot needed: one team owns the apps and API. Becomes recommended when schools or partners use the API.
loyalty program appnot neededNot needed: the integration test covers the point of sale feed. Becomes recommended when partners call a public points API.
mental health appnot neededNot needed while one team ships the app and its API together. Becomes recommended when an employer or insurer integration consumes the API.
mobile gamenot neededNot needed: one team owns client and server. Becomes recommended when a separate team or partner ships against the game API.
neobanknot neededNot needed: the partner bank feed is covered by integration and data-integrity tests. Becomes recommended when the neobank adds a second partner bank with a different feed format.
peer-to-peer payment appnot neededNot needed: the app has one bank and one card processor, covered by integration tests. Becomes recommended when a second partner or public API ships.
patient portalnot neededNot needed while the portal is the record vendor's own module released together with it. Becomes recommended when the portal reads the record through a separately released API.
software as a medical devicenot neededNot needed while the app, firmware and cloud API are released together as one cleared version. Becomes recommended when a third-party app or clinic system reads the device data API.
social networknot neededNot needed: apps talk to one first-party API released with them. Becomes recommended when a public developer API ships.
telemedicine appnot neededNot needed while the app and its backend are built and released by the same team. Becomes recommended when a pharmacy, lab or EHR partner consumes the visit API.
event ticketing platformnot neededNot needed: one team owns the queue, seat map and checkout services. Becomes recommended when promoters or resale partners connect through a public API.
video conferencing toolnot neededNot needed: no attached risk comes from partner integrations. Becomes recommended when a public meetings API is sold.
wearable companion appnot neededNot needed: the app talks to one first-party sync API released with it. Becomes recommended when third parties consume the sync API.

Done conditions used on playbook pages

Each mandatory cell has its own done condition, written for that product type.

Tools

Alphabetical. Not recommendations.

3 tools shown

contract tests

  • PactConsumer-driven contract testing with a broker. apiopen-source
  • PostmanAPI client with collections and scripted assertions. apifreemium
  • SchemathesisProperty-based testing from OpenAPI and GraphQL schemas. apiopen-source