Skip to content

Module 01 · Lesson 1.4

Acceptance Criteria

45 minUpdated 13 Nov 2026Part of Requirements Discovery · New Project Creation
On this page
  1. What you will learn
  2. What acceptance criteria are
  3. Two forms: rules and scenarios
  4. Worked scenario: criteria for Tidewell
  5. Step-by-step workflow
  6. Criteria as context for the assistant
  7. Reusable prompt
  8. Expected output
  9. Common errors and fixes
  10. Validation checklist
  11. Hands-on exercise
  12. Knowledge check
  13. References

A requirement says what the system must do. Acceptance criteria say how you will know it does. Without them, 'done' is whatever the developer, or the assistant, decides it is, and the first time anyone disagrees is at the demonstration.

In this lesson you write acceptance criteria for Tidewell Physiotherapy's requirements. You learn two forms, a plain rule list and the Given, When, Then scenario, and when to use each. You cover the awkward cases that cause most defects, and use an assistant to propose scenarios you missed. By the end you have criteria that can be handed to an assistant as a specification and later turned into automated tests.

What you will learn

  • Write acceptance criteria that are specific, observable and independent of implementation.
  • Express behaviour as Given, When, Then scenarios and as rule lists, and choose between them.
  • Cover boundaries, errors and permissions, not only the happy path.
  • Use an AI assistant to propose missing scenarios and to turn agreed criteria into test cases, while keeping decisions with the client.

Before you start

  • Completed Requirements, or have a numbered requirements list of your own.
  • Access to any capable AI assistant.

What acceptance criteria are

Acceptance criteria are the conditions a piece of work must meet to be accepted by the person who asked for it. Each one is a statement that can be answered 'yes' or 'no' by looking at the finished system. They sit under a requirement and make it concrete: the requirement gives the intent, the criteria give the proof.

They matter in three ways. They give the client a chance to say 'that is not what I meant' before anything is built. They give the assistant a target, so it can write code that matches stated behaviour rather than a guess. And they become the source of your tests in Module 7, so a criterion you cannot test is one you cannot protect from later breakage.

Acceptance criterion
A yes-or-no condition, written in the client's language, that a requirement must satisfy.
Scenario
One concrete case written as Given (the starting situation), When (the action), Then (the observable result).
Edge case
A situation at or beyond the limits of normal use: an empty list, a deadline, an error or a forbidden action.
Definition of done
Conditions that apply to every piece of work, such as 'reviewed' and 'documented', as opposed to criteria specific to one requirement.

Two forms: rules and scenarios

A rule list is a short set of statements: 'A patient cannot cancel inside the notice period.' Rule lists suit simple, general conditions that apply across the board. A scenario walks through one case step by step. Scenarios suit behaviour that depends on state, because the starting situation is written into each one.

FormUse it whenWeakness
Rule listThe condition is general and has no state, such as a limit or a permission.Hides the starting situation and the order of events.
Given, When, ThenBehaviour depends on what has already happened.Becomes long if used for every small rule.

Write scenarios in the client's words. 'Given a booking more than 24 hours away' reads naturally to the practice manager. 'Given a row in the bookings table with start_time greater than now plus 24 hours' tells them nothing and ties the criterion to a design that does not exist yet.

Text
Requirement FR-02: A patient can move or cancel their own booking without calling the clinic.

Scenario: Patient cancels outside the notice period
  Given a patient has a booking more than 24 hours away
  When the patient cancels it
  Then the booking is marked cancelled
  And the slot becomes free
  And the patient sees a confirmation

Scenario: Patient tries to cancel inside the notice period
  Given a patient has a booking less than 24 hours away
  When the patient tries to cancel it online
  Then the booking is unchanged
  And the patient is told to phone the clinic, with the clinic's opening hours

Scenario: Patient tries to change someone else's booking
  Given a booking that belongs to a different patient
  When the patient tries to cancel it
  Then the booking is unchanged
  And the patient is not told whether that booking exists

One requirement, FR-02, expressed as scenarios. The notice period is shown as 24 hours, which is the clinic's rule to confirm, not a default.

Worked scenario: criteria for Tidewell

The scenarios above cover the main case and two refusals. To judge whether a set is complete, work through the cases that cause most real defects. Apply the checklist below to each requirement and write a scenario wherever the answer is not obvious.

Question to askExample for FR-02
What happens at the boundary?A booking exactly 24 hours away: is it inside or outside the notice period? The client must decide.
What happens with nothing?A patient with no bookings opens the page and sees a clear message, not a blank screen.
What if it goes wrong?The cancellation fails part-way: the booking must not end up half-cancelled.
Who is allowed?A patient can change only their own bookings; staff can change any.
What if two things happen at once?Two people cancel and rebook the same slot at the same moment; only one booking results (NFR-01).
What is recorded?Who cancelled, when and how (FR-05).

The boundary question exposes the decision hiding inside a number: 24 hours before the slot, is the 24th hour in or out? A person can shrug at that. Code cannot, and an assistant will pick an answer for you. Raise it with the practice manager, write the answer into the criterion, and note the date.

Non-functional requirements need criteria too, and the words 'to be agreed' are acceptable when you do not yet have a baseline. For NFR-02, 'a patient can use the booking page on a phone screen', a checkable criterion is 'every step of booking and cancelling can be completed on a screen 360 pixels wide without sideways scrolling'. That wording gives you something to check without choosing a design.

Step-by-step workflow

  1. Step 1: Pick one requirement at a time

    Start with the Must requirements. Writing criteria for all of them at once leads to shallow ones.

    What you should see: A single requirement ID at the top of your working page.

  2. Step 2: Write the main scenario first

    Describe the normal case in Given, When, Then form. If the Given is hard to write, the requirement may be unclear: go back and fix it.

    What you should see: One scenario that a client would nod at.

  3. Step 3: Add the edge cases

    Work through the question table: boundaries, empty states, failure, permissions, concurrency and recording. Write a scenario or a rule for each that applies.

    What you should see: Typically three to six scenarios per requirement.

  4. Step 4: Replace internal terms with the client's words

    Read every criterion aloud as if to the practice manager. Replace table names, status codes and library names with everyday terms.

    What you should see: No criterion mentions a technology.

  5. Step 5: Ask an assistant for scenarios you missed

    Use the prompt card. Treat its output as candidates: for each, ask the client whether it should be a rule.

    What you should see: A list of candidate scenarios, each marked accepted, rejected or 'ask the client'.

  6. Step 6: Confirm, number and store them

    Number each scenario under its requirement, such as FR-02.3, and save them in docs/acceptance-criteria.md with the confirmation date.

    What you should see: Every Must requirement has criteria the client has seen.

From requirement to tests
  1. Requirement

    FR-02

  2. Main scenario

    Given, When, Then

  3. Edge cases

    Boundaries, errors, permissions

  4. Client check

    Wording and decisions

  5. Assistant spec

    Given as build context

  6. Tests

    Module 7

Criteria are the bridge. A criterion without a test is unprotected, and a test without a criterion has no stated reason to exist.

Criteria as context for the assistant

Once criteria are agreed, they are the most useful thing you can give an assistant before it writes code. Pasting a requirement and its scenarios tells it what behaviour to produce and what to refuse. Asking it afterwards to list which scenario each part of its code satisfies is a quick way to find behaviour it added unprompted, which has no criterion and probably no source.

Reusable prompt

Scenario and edge-case finder

Proposes missing acceptance scenarios for one requirement, keeping policy choices as questions for the client.

You are helping me write acceptance criteria. Do not write code, choose technology or decide business rules.

Fictional clinic: Tidewell Physiotherapy. Out of scope: payments, insurer billing, clinical notes.

Requirement FR-02: A patient can move or cancel their own booking without calling the clinic.
Related: FR-05 every change to a booking records who made it and when. NFR-01 two people changing the same slot cannot produce two bookings.

Scenarios I have written:
1. Patient cancels a booking more than 24 hours away: booking cancelled, slot freed, confirmation shown.
2. Patient tries to cancel a booking less than 24 hours away: booking unchanged, told to phone the clinic.
3. Patient tries to cancel someone else's booking: unchanged, existence not revealed.

Tasks:
1. Propose additional scenarios in Given, When, Then form, covering boundaries, empty states, failures part-way, permissions, concurrency and what is recorded. Use everyday language, with no table names or code terms.
2. Where a scenario depends on a business rule I have not stated, do not choose a value. Write it as "Decision needed: ..." with the role that should decide.
3. Mark every scenario "Proposed" and say which of my existing scenarios it extends, if any.
4. List anything in my three scenarios that is ambiguous.
Show the reusable template

Replace each {{placeholder}} with your own details.

You are helping me write acceptance criteria. Do not write code, choose technology or decide business rules.

Context: {{organisation_and_scope}}

Requirement {{requirement_id}}: {{requirement_text}}
Related: {{related_requirements}}

Scenarios I have written:
{{existing_scenarios}}

Tasks:
1. Propose additional scenarios in Given, When, Then form, covering boundaries, empty states, failures part-way, permissions, concurrency and what is recorded. Use everyday language, with no table names or code terms.
2. Where a scenario depends on a business rule I have not stated, do not choose a value. Write it as "Decision needed: ..." with the role that should decide.
3. Mark every scenario "Proposed" and say which of my existing scenarios it extends, if any.
4. List anything in my scenarios that is ambiguous.

Expected output and limitations

A list of proposed scenarios in Given, When, Then form, each marked Proposed, with policy-dependent ones written as 'Decision needed' plus a role, and a short list of ambiguities in your own scenarios.

Sample responseIllustrative — your output will differ
Proposed: boundary (extends scenario 1)
  Given a booking that starts exactly at the end of the notice period
  When the patient cancels it online
  Then ... Decision needed: is this inside or outside the notice period? Role: practice manager.

Proposed: no bookings
  Given a patient with no upcoming bookings
  When the patient opens their bookings
  Then they see a message saying there are none

Proposed: failure part-way
  Given the patient confirms a cancellation
  When the system cannot complete it
  Then the booking remains as it was and the patient is told it was not cancelled

Ambiguity: "told to phone the clinic" does not say whether the opening hours must be shown.

Limitations to keep in mind

  • The assistant proposes scenarios from typical systems. Some will be irrelevant and some important ones will be missing.
  • It may slip in invented rules, such as a fee for late cancellation. Anything not in your notes belongs under 'Decision needed' or gets struck out.
  • A long list of scenarios is not a complete one. Completeness is judged against your workflow map and the client's rules.

Common errors and how to fix them

Criteria cover only the happy path.

Why it happens: Boundaries, errors and permissions were not asked about.

Fix: Work through the question table for every Must requirement and write a scenario for each that applies.

Criteria mention tables, endpoints or components.

Why it happens: They were written by someone thinking about the build.

Fix: Rewrite in the client's language so the criterion survives a redesign.

A scenario hides a business decision, such as a notice period or a fee.

Why it happens: The assistant or the writer chose a plausible value.

Fix: Write 'Decision needed' with the owning role, and replace it only after that role confirms.

Validation checklist

Tick each item once you have confirmed it.

Hands-on exercise

Acceptance criteria for a Ferngate requirement

Take the Ferngate requirement 'A mechanic can record a part taken for a job' from your list. Write acceptance criteria for it, run the Scenario and edge-case finder, and produce a final list in which every scenario is accepted, rejected or sent to the client as a decision.

You will need

  • Your Ferngate requirement and its related requirements.
  • Note: mechanics share one tablet and the workshop's connection is unreliable.
  • Note: the owner has not said what should happen if a mechanic records a part that the system thinks is out of stock.

Acceptance criteria

Your work is done when every one of these is true.

Hints (2)
  • Ask what a mechanic sees when a part is not in the system at all.
  • 'Recording survives a lost connection' is a behaviour you can observe. How it is achieved is not for this document.
Show a model answer

A good answer has a main scenario (the mechanic records a part for a job and sees it attributed to them), then cases for an unknown part, a part the system believes is out of stock, a lost connection and an entry for the wrong job. The out-of-stock case is a decision for the owner: the system might block, warn or allow, and each choice changes how the shop works. The connection scenario reads 'Given the connection is unavailable, When a mechanic records a part, Then the entry is kept and shown as waiting to be saved', which says what is observed and leaves the technique for Module 2. Rejecting an assistant scenario about supplier ordering shows the scope held.

Knowledge check

Choose an answer, then check it. Nothing is recorded — this is for you.

  1. 1.Which is the best acceptance criterion for 'a patient can see free slots'?
    Show the answer and explanation

    Answer: B. It states a starting situation, an action and an observable result, in language the client uses. 'Quickly' is tempting because it sounds like a quality, but it has no limit, so nobody can say whether it passed. The last two describe construction.

  2. 2.A booking starts exactly 24 hours from now and the notice period is 24 hours. What should you do?
    Show the answer and explanation

    Answer: C. The boundary is a business decision and only the clinic can make it. Leaving it unstated is tempting because it is rare, but code must do something at the boundary, and an unwritten answer is chosen by whoever types the comparison.

  3. 3.Why give agreed acceptance criteria to an assistant before it writes code?
    Show the answer and explanation

    Answer: B. Criteria give a target and a way to see extra behaviour. They do not guarantee correctness, which is the tempting reading: you must still review the output and run tests built from the criteria.

Written by
PromptFable Editorial
Last updated 13 Nov 2026
Review
Reviewed by Waseem Nadir, Technical Reviewer
Last reviewed 27 Nov 2026

References

Primary sources for the technical details in this lesson. Vendor platforms change — check the official page if anything here looks different from what you see.

PromptFable is independent and is not affiliated with, endorsed by or sponsored by Anthropic, Google, OpenAI or any other vendor. Claude, Gemini, Google AI Studio and other product names are trademarks of their respective owners.