Acceptance Criteria and Testable Requirements
Write acceptance criteria in checklist and Given/When/Then form, covering rules, boundaries, and exceptions.
Introduction
Acceptance criteria define the conditions under which a requirement or story is considered satisfied. They make the shared understanding explicit, and they provide the bridge between requirements, development, and testing.
Writing them early is cheap. Discovering at the end that the product owner and the developer interpreted a story differently is not.
Learning Objectives
- Explain how acceptance criteria differ from requirements and from tests.
- Write criteria as rules/checklists and as Given/When/Then scenarios.
- Cover boundaries, negative cases, and non-functional conditions.
- Avoid implementation detail and vagueness in criteria.
- Use AI to draft and challenge criteria and to find missing scenarios.
1. What Acceptance Criteria Are
| Artifact | Purpose |
|---|---|
| Requirement / story | States a need or capability |
| Acceptance criteria | Conditions that must be met for acceptance |
| Test case | A specific, executable check, often derived from criteria |
Acceptance criteria are written from the stakeholder’s perspective and stay at the level of observable behavior. A test case adds exact data, steps, and expected results.
2. Rule-Based (Checklist) Criteria
Best for simple stories with clear rules.
Story: As a product manager, I want to import feedback from a CSV file, so that I do not retype it.
Acceptance criteria:
- A CSV file up to 20 MB is accepted.
- Files above 20 MB are rejected with a message stating the limit.
- Each valid row creates exactly one feedback item.
- Rows missing the required “text” column value are skipped and listed in an error report with row number and reason.
- After import, the user sees the number of items imported, skipped, and flagged as possible duplicates.
- Importing the same file twice does not create exact duplicates silently.
Each bullet should be independently checkable as pass or fail.
3. Scenario-Based (Given/When/Then)
Best where behavior depends on context or state.
1
2
3
4
5
6
7
Scenario: Import skips invalid rows and reports them
Given a logged-in user with the Editor role
And a CSV file with 10 rows, 2 of which have empty text
When the user imports the file
Then 8 feedback items are created
And the user sees "8 imported, 2 skipped"
And an error report lists row numbers and the reason for each skipped row
| Keyword | Meaning |
|---|---|
| Given | Initial context or state |
| When | The action or event |
| Then | Observable outcome |
| And / But | Additional conditions or outcomes |
Keep one behavior per scenario. Use concrete values where they matter, and avoid UI details such as “clicks the blue button” unless the UI is the requirement.
4. What Good Criteria Cover
For each requirement, consider:
- Happy path: the normal successful outcome.
- Boundaries: minimum, maximum, just inside, just outside (19.9 MB, 20 MB, 20.1 MB).
- Negative cases: invalid input, missing permission, duplicate action.
- State variations: empty workspace, large workspace, archived theme.
- Non-functional conditions: response times, accessibility, audit entries.
- Data rules: formats, character sets, required fields.
| Requirement | Poor criterion | Better criterion |
|---|---|---|
| Search | Search works quickly. | Given 50,000 items, when a user searches for a word that appears in 100 items, then results appear within 1 second at the 95th percentile. |
| Permissions | Only authorized users can delete. | Given a user with the Viewer role, when they attempt to delete a theme, then the system denies the action and the theme remains. |
5. Common Pitfalls
| Pitfall | Example | Fix |
|---|---|---|
| Vague adjectives | “Intuitive”, “fast”, “robust” | Replace with a measure or observable behavior |
| Implementation leakage | “Uses a modal dialog” | State the outcome, not the widget |
| Multiple behaviors | One scenario tests five things | Split into separate scenarios |
| Missing negatives | Only happy path covered | Add failures and permissions |
| Untestable | “The system is secure” | Specify observable security behavior |
| Criteria that restate the story | “User can import” | Add conditions and outcomes |
A useful test: could two testers independently derive the same pass/fail result from this criterion?
6. Definition of Ready and Definition of Done
Acceptance criteria are specific to a story. Two team-wide agreements complement them:
- Definition of Ready: a story is ready for development when it has a clear benefit, acceptance criteria, no unresolved blocking questions, and is small enough.
- Definition of Done: the shared checklist for all work, such as code reviewed, tests passing, documentation updated, and accessibility checked.
Do not repeat Definition of Done items in every story, but do not forget them either.
7. Use AI to Draft and Challenge
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Act as a QA analyst and business analyst.
Story and requirements:
[Paste the story, linked requirement IDs, and business rules.]
Tasks:
1. Draft acceptance criteria as Given/When/Then scenarios.
2. Add boundary and negative scenarios.
3. Identify criteria that are ambiguous or untestable.
4. List questions whose answers would change the criteria.
Rules:
- Use only the rules provided. If you need a business rule that is not
given, list it as a question; do not invent it.
- Do not mention UI widgets or technology.
Then ask a second pass: “Given only these criteria, what behaviors would a developer be free to implement in a way I might not want?” This exposes gaps in the criteria.
Always review AI output against the real business rules. AI tends to produce complete-looking scenarios built on rules it quietly assumed.
8. Practical Exercise
For SignalDesk:
- Write acceptance criteria for at least 10 Must-priority stories or requirements. Use checklist form for at least four and Given/When/Then for at least four.
- Include for each at least one boundary or negative scenario.
- Add acceptance criteria for at least three non-functional requirements.
- Record every question that AI or you could not answer from the known rules, and assign an owner.
Verification
You are ready to continue when:
- Each criterion is independently pass/fail.
- Criteria cover happy path, boundaries, and at least one negative case.
- No criterion depends on unstated business rules.
- Non-functional requirements have verifiable criteria.
- Open rule questions are recorded with owners.
Key Takeaways
- Acceptance criteria make shared understanding explicit and testable.
- Use checklists for simple rules and Given/When/Then for contextual behavior.
- Cover boundaries and negatives, not only the happy path.
- AI drafts scenarios fast, but it may invent rules; verify against real ones.
What’s Next?
Now that we have a body of requirements, stories, and criteria, we must look for defects in the set: ambiguity, gaps, and conflicts.