TOPIC 03/4215 MINNOT STARTED

Prompting for testers: role, task, context, constraints, format

Write a request as if you were briefing a new colleague who knows nothing about your project. Learn the five parts of a good prompt and why each one earns its place.

L1–L4 are part of the Pro pass

L0 Explain simply

Analogy: briefing a new colleague who knows nothing about your project. Imagine a clever person starts today. They know nothing about your product. You say: "test the login." They stare at you. They need to know which screen, which rule, who the result is for and how you want it written.

Daily List is a to-do list app. Tom, the tester, types "test the login" into an assistant. He gets a long, generic list. It has nothing about the Daily List rules.

So Tom writes a prompt like a briefing. It says who the assistant should act as, what to do, the facts it needs, the limits and the shape of the answer. The same assistant now gives a short, useful table.

The picture has a limit. A new colleague can ask you questions. An assistant often just answers with a guess. So you answer the questions before it asks.

(SYNTHETIC / TRAINING ONLY: Daily List and every person named here are made up.)

PICTURE IT

The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.

THE REAL JOB Writing a request that gives an assistant what it needs, so the answer fits your product and is easy to check.

  1. Role and task
  2. Context
  3. Limits
  4. Format
Brief it like a new colleague

HOW THE PICTURE MAPS

How each part of the picture matches the software
In the pictureIn the software
The new colleagueThe assistant
The briefing you giveThe prompt
The facts about the projectThe context
The shape of the report you want backThe format

WHERE THIS PICTURE STOPS

  • A new colleague can ask you questions. An assistant often just guesses.
  • A colleague learns your project over weeks. An assistant may not keep what you told it.
  • A colleague takes the blame for a mistake. The tester still owns the result.

HOOK

Brief it like a new colleague.

REMEMBER IT THIS WAY

A sequence: the real steps, in order.

Brief the assistant by answering in order: who it acts as, what to do, which facts, what limits, what shape of answer.

What each part of the trick stands for
In the trickWhat it stands for
Who and whatWho the assistant should act as, and what to do
Which factsThe facts it needs
What limitsThe limits
What shapeThe shape of the answer

TELL A FRIEND

Write the request as a briefing for a clever new colleague who knows nothing about your project.

OFTEN MIXED UP WITH Tokens, context windows and what a prompt costs. The earlier lesson explains how much text an assistant can hold. This lesson explains what to put into that space.

Sources & standards — 4 sources
  1. 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.

  2. 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.

  3. Market practice

    Prompt engineering overview (Claude documentation) ↗ — Anthropic · Core techniques are being clear and direct, using examples and letting the tool think step by step; it assumes you already have success criteria (search excerpt, page not opened)

    Vendor documentation for one tool. Lists being clear and direct, using examples and letting the tool think step by step as core techniques, and assumes you already have success criteria. 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.

  4. Market practice

    Certified Tester, Testing with Generative Artificial Intelligence, certification page ↗ — International Software Testing Qualifications Board (ISTQB) · Public overview of the specialist certificate: uses of large language models in testing, prompt design, managing risks of generative AI, and test tooling (search excerpt, page not opened) The syllabus text, read in full from a mirror copy of the publisher PDF (ISTQB syllabus CT-GenAI v1.1, 27 April 2026), confirms the scope. Its chapters are an introduction to generative AI for software testing, prompt engineering, managing the risks of generative AI, LLM-powered test infrastructure, and deploying and integrating generative AI in test organisations.

    Public overview of the specialist certification known as CT-GenAI: uses of large language models in testing, prompt design, managing risks of generative artificial intelligence (AI), and test tooling that uses such models. Named as a public overview only; syllabus text not quoted. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Syllabus v1.0 approved July 2025; minor update v1.1. 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.

PRACTISE AND KEEP

Sources for this topic — 4 sources
  1. 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.

  2. 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.

  3. Market practice

    Prompt engineering overview (Claude documentation) ↗ — Anthropic · Core techniques are being clear and direct, using examples and letting the tool think step by step; it assumes you already have success criteria (search excerpt, page not opened)

    Vendor documentation for one tool. Lists being clear and direct, using examples and letting the tool think step by step as core techniques, and assumes you already have success criteria. 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.

  4. Market practice

    Certified Tester, Testing with Generative Artificial Intelligence, certification page ↗ — International Software Testing Qualifications Board (ISTQB) · Public overview of the specialist certificate: uses of large language models in testing, prompt design, managing risks of generative AI, and test tooling (search excerpt, page not opened) The syllabus text, read in full from a mirror copy of the publisher PDF (ISTQB syllabus CT-GenAI v1.1, 27 April 2026), confirms the scope. Its chapters are an introduction to generative AI for software testing, prompt engineering, managing the risks of generative AI, LLM-powered test infrastructure, and deploying and integrating generative AI in test organisations.

    Public overview of the specialist certification known as CT-GenAI: uses of large language models in testing, prompt design, managing risks of generative artificial intelligence (AI), and test tooling that uses such models. Named as a public overview only; syllabus text not quoted. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Syllabus v1.0 approved July 2025; minor update v1.1. 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.

Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.