Software Testing / Learning brief

Mei shows Tom a photo of the cake

What this means in plain language

Tom's test cases come back as loose paragraphs. Mei shows him how a sample, a fixed table shape and one small change at a time turn a loose draft into neat rows that he can check and trust.

Understand the full idea, step by step

Ask a baker for a nice cake and you get a guess. Show a photo and the baker copies the shape and the size. Then you taste it and say less sugar. After a few rounds, you have the cake you wanted.

Tom needs the same loop from an assistant. He wants test cases in the team layout, and he wants to improve his request without guessing what helped.

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.

General teaching about examples, output shapes and prompt changes, as described in vendor guides. The app and people are invented. No tool is named.

What this brief simplifies: Fiction labelled SYNTHETIC / TRAINING ONLY. Sources were seen only as search excerpts. The baker is a teaching picture. Tools differ in how closely they follow a pattern.

Sources for this brief — 5 sources
  1. Market practice

    The Power (and Nuance) of Prompting (Vercel Academy) ↗ — Vercel · Few-shot prompting puts a few labelled examples in the prompt to show the pattern or format to follow (search excerpt, page not opened)

    Vendor training page. Used for the idea of examples in a prompt and for checking output that must follow a set format. · 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; read at the time of writing. 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. Market practice

    Prompting best practices (Claude Platform documentation) ↗ — Anthropic · Be clear and direct, explain the reason for a rule, give a few examples and separate parts of a prompt with tags (search excerpt, page not opened)

    Vendor documentation for one tool. Says to be clear and direct, to explain the reason for a rule, to give a few examples and to separate parts of a prompt with tags. Other tools may differ. Search excerpt only. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). 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. Market practice

    Best practices for prompt engineering with the OpenAI API (OpenAI Help Center) ↗ — OpenAI · Put instructions first and separate them from the source text with delimiters; be specific about context, outcome, length, format and style; show the output format with an example (search excerpt, page not opened)

    Vendor guidance for one tool. Other tools differ, and the page changes over time. · 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; read at the time of writing. 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.

  4. Market practice

    How to generate unit tests with GitHub Copilot: tips and examples (GitHub Blog) ↗ — GitHub · Name the method, ask for success, failure and edge cases, say which test framework you use, keep the code in view, and review the result (search excerpt, page not opened)

    Vendor blog about one tool. Used only for the general habit of giving context and reviewing output. · 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; read at the time of writing. 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.

  5. 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 HEREExamples, output formats and improving a prompt step by stepShow the assistant two sample answers, fix the shape of its reply, and then improve the prompt one small change at a time. Treat the first answer as a draft.Opens at L0 Explain simply · about 17 min

Related briefs

Tom runs the cake stall

Tom practises questions on risk. A school fair cake stall shows him project and product risks, the two factors of a risk and the ways to respond.

READ BRIEF

Mei shows the work before anyone asks

Mei keeps her test team hard to blame by showing its work early. A library desk helps her see how open work and a clear process answer interference, close control, disrespect and cuts.

READ BRIEF