Business Analysis / Learning brief

A recipe a robot can follow: examples that run themselves

What this means in plain language

Sam turns one example from a talk into Given, When and Then lines, and Leo connects them to the app. A short story about executable examples and who writes what.

Understand the full idea, step by step

An example on a whiteboard is lost by the next week. An example that runs every time changes stays true.

This brief follows an analyst who writes one example in a form a tool can run. The developer connects it to the app, and the tester checks that a failure would be clear.

What matters is that the example says what the user sees, not what the user clicks.

PLAIN WORDS · 1 in this section
whiteboard
a board you write on with pens

Evidence & review

REVIEWED 2026-10-18

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.

Gherkin and executable examples as taught in this academy. The people and the app are invented.

What this brief simplifies: Fiction labelled SYNTHETIC / TRAINING ONLY. The story uses only the simplest keywords, and real projects add more.

Sources for this brief — 3 sources
  1. Market practice

    Gherkin reference (Cucumber documentation) ↗ — Cucumber · Gherkin reference (Cucumber documentation): Gherkin uses a small set of keywords to give structure to executable specifications; each step starts with Given, When, Then, And or But and a tool runs the steps in order (search excerpt, page not opened)

    Official reference: Given, When, Then, And and But are valid step keywords; Rule and Scenario Outline structures. A focused example need not ban And. · Checked 2026-11-05

    Publisher page opened on 5 November 2026. Earlier search-only notes are superseded for the claims stated here. Wording is paraphrased; source-figure reuse is not assumed.

  2. Market practice

    Example Mapping (Cucumber documentation) ↗ — Cucumber (SmartBear) · Example Mapping (Cucumber documentation): examples gathered in a talk can be written as scenarios (registry source; page not opened in this batch)

    Per the search excerpt, example mapping uses four card colours for the story, the rules, the examples and the questions, and takes about a short session per story. 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.

  3. 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 HEREGherkin and executable examplesWrite a key example in Given, When and Then lines so that people can read it and a tool can run it as a check. Learn what the analyst writes and what the developer adds.Opens at L0 Explain simply · about 13 min

Related briefs

A recipe a robot can follow

A weekly copy-and-paste job looks perfect for a software robot, and Sam finds out what the robot would need to be told. A short story about automation feasibility and the process definition document.

READ BRIEF

Sam writes the note that users will read

A new version of Daily List is ready. Sam turns three work items into a short note for users: a label and a plain line for each change, one known issue, and a week of listening afterwards.

READ BRIEF