Software Testing / Learning brief

Mei writes her first contract test

What this means in plain language

Mei writes what the Daily List phone app expects from the tasks service. A renamed field is caught the same day.

Understand the full idea, step by step

Analogy: an order form between a shop and a baker. The shop writes down exactly what it will order and what it expects back: three loaves, delivered at 8. The baker checks that the baker can meet the form.

If the baker changes the loaf size, the form shows the problem before a customer does.

PLAIN WORDS · 1 in this section
loaves
shaped lumps of baked bread

Evidence & review

REVIEWED 2026-10-31

The date on this lesson is when it went up on Payments Signal, not when its material was written — most of these were brought across from an earlier catalogue in a single run, which is why so many of them share a date. What the lesson says about the world is dated by the review above and by the sources below it.

A first contract test between two invented services.

What this brief simplifies: Fiction labelled SYNTHETIC / TRAINING ONLY. Sources were seen only as search excerpts. Tools and screens change, and each team sets its own.

Sources for this brief — 2 sources
  1. Market practice

    Introduction (Pact documentation) ↗ — Pact Foundation · Pact documentation: consumer tests run against a mock provider and generate a contract of concrete request and response examples, saved as a pact file, which the provider replays against its real implementation to verify (search excerpt, page not opened)

    Per the search excerpt, Pact is a consumer-driven contract testing tool: the consumer writes tests that set out what it needs, running them makes a contract, and the provider checks that contract against its real application programming interface (API). Practitioner guidance, not a standard. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  2. Simplified educational illustration

    Payments Signal editorial teaching models — Payments Signal

    This site's own simplified teaching models. · Checked 2026-07-12

    Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.

Learn this properly

START HEREPact: a consumer contract test between two servicesCheck the consumer’s real client against a mock, then check the real provider against the saved contract. Each result answers a different question.Opens at L0 Explain simply · about 16 min

Related briefs