# Acceptance criteria

> Acceptance Criteria: What They Are and How to Test Them. Canonical page: <https://zapple.tech/glossary/acceptance-criteria/>

Acceptance criteria are the conditions that an implementation of a user story must meet to be accepted by stakeholders. The ISTQB syllabus says they may be viewed as the test conditions the tests should exercise. Written well, each one states an outcome a check can observe, and each one becomes at least one test.

## What are acceptance criteria?

They are the agreed conditions that make a story finished from the business's side. The [ISTQB Foundation Level syllabus](https://istqb.org/wp-content/uploads/2024/11/ISTQB_CTFL_Syllabus_v4.0.1.pdf) (version 4.0.1) defines them for a user story as "the conditions that an implementation of the user story must meet to be accepted by stakeholders", and adds that they may be viewed as the test conditions that should be exercised by the tests. It lists five uses: to define the scope of the story, reach consensus among stakeholders, describe both positive and negative scenarios, serve as a basis for acceptance testing, and allow accurate planning and estimation.

[Azure Boards](https://learn.microsoft.com/en-us/azure/devops/boards/work-items/guidance/agile-process-workflow?view=azure-devops) documents the same field for work items: the criteria to be met before a bug or user story can be closed, which the team can use as the basis for [acceptance tests](/blog/types-of-automation-testing/what-is-user-acceptance-testing/). Each criterion should turn into at least one [test case](/glossary/test-case/); the rows of a [requirements traceability matrix](/glossary/requirements-traceability-matrix/) point at them.

## What does a weak criterion look like next to a testable one?

The table takes one story: "As a shopper, I want to reset my password, so that I can get back into my account." The rewrites are ours, made up to show the method. The numbers are choices a team would make, not benchmarks.

| Vague wording | Testable rewrite | The test it yields |
|:--|:--|:--|
| The reset email arrives quickly | A reset email is sent within 60 seconds of the request | Request a reset, compare the send time with the request time |
| The link is secure | The link works once and stops working after 30 minutes | Use the link twice; use it again after 31 minutes |
| Errors are handled | An unknown email address gets a clear message and no email is sent | Submit an address with no account; check the message and the mailbox |
| It works on mobile | The reset form can be completed on a 360-pixel-wide screen without sideways scrolling | Walk the form at that width |
| Passwords are strong | A new password under 12 characters is rejected with a message that states the rule | Submit 11 characters, then 12 |

Microsoft's [Azure Boards guidance](https://learn.microsoft.com/en-us/azure/devops/boards/backlogs/manage-work-items?view=azure-devops) lists writing specific descriptions with clear acceptance criteria among its practices for work items. Each rewrite names an observable outcome and the number or condition that decides it. The first column cannot be tested because two testers would disagree on what "quickly" means.

## Rule list or given-when-then: which format should your team use?

The syllabus names two ways to write criteria: scenario-oriented, such as the Given, When, Then format used in behavior-driven development, and rule-oriented, such as a bullet-point verification list or a table of inputs and outputs. It allows a custom format as long as the criteria are well defined and unambiguous.

| Format | Fits when | Costs |
|:--|:--|:--|
| Rule list | The story is a set of conditions or limits: field rules, permissions, calculations | Little tooling; weak at showing the order of events |
| Input-output table | The behavior is a mapping, such as a discount by order size | The table grows with each case; needs an owner |
| Given-when-then | The story is a flow with a starting state, an action and a result | Longer to write; worth it when non-testers must read them |

Cucumber's [Gherkin reference](https://cucumber.io/docs/gherkin/reference/) describes the three step words: Given sets the initial context, When describes an event, Then describes the expected outcome. It also offers a Rule keyword to group scenarios that illustrate one business rule, which is how the two formats can sit together. Our rule of thumb, which is judgment: start with a rule list, and move a story to given-when-then when the order of events is where the bugs are. Our post on [behavior-driven development](/blog/types-of-automation-testing/what-is-behaviour-driven-development/) covers the second style in full.

## Who should write acceptance criteria, and when should QA be in the room?

The syllabus ties criteria to the conversation about a story, so the question is who is in that conversation. Our view: the product owner or analyst brings the intent, a developer brings feasibility, and a tester brings the awkward cases. Leaving the tester out until the build is done means the first challenge to a vague criterion arrives as a bug report.

The syllabus supports this. It says reviews can check that user stories include testable acceptance criteria, and that testers, by asking the right questions, help improve the proposed stories. In its test-first approach, a specification workshop analyses the user story and its criteria, and the team then writes test cases from them before the story is implemented. Our guide to [acceptance test-driven development](/blog/types-of-automation-testing/what-is-acceptance-test-driven-development/) keeps that method.

Do not confuse the criteria with the team's definition of done. The [Scrum Guide](https://scrumguides.org/scrum-guide.html) calls the Definition of Done "a formal description of the state of the Increment when it meets the quality measures required for the product". It applies to all work; criteria apply to one story. In our view the two fail separately: a story can meet its criteria and still miss the definition of done, for instance when a review is outstanding.

If criteria are written without testers today, see our [functional testing services](/services/functional-testing-services/). At Zapple.Tech, QA runs beside development, not after it: requirements become test cases before code is written.

## What happens when AI writes the criteria or builds from them?

Our view: criteria are the specification that both a tester and an AI coding tool work from, so vague ones now cost twice. A tester guesses what "quickly" meant and files a bug; a coding assistant guesses and ships its guess. A model can turn a story into a first list of criteria for the team to correct. See our post on [whether AI will replace software testers](/blog/qa-engineers/will-ai-replace-software-testers/) for where human judgment still decides.

What this does not solve: clear criteria cover only what somebody thought to write down. Performance, security, odd data and the paths between stories are in them only if somebody wrote them down, so exploratory and non-functional testing still has to look. Meeting each criterion is a statement about the story as specified, not about the product.

## What does Zapple.Tech do about it?

If your stories reach testing with criteria nobody can check, start with the evidence. Zapple.Tech starts with a one-week QA audit of one product area. It looks at its tests, pipeline and release process, and ends in a written report on what is at risk and what to fix first, plus a pilot plan you can run with Zapple.Tech or without it. Read more on the [QA audit and assessment](/services/audit-and-assessment/) page. Tell us about your product in the form below.

## FAQ

### What are acceptance criteria?

Acceptance criteria are the conditions that an implementation of a user story must meet to be accepted by stakeholders. The ISTQB syllabus says they can be viewed as the test conditions that the tests should exercise. They set the scope of a story, give stakeholders something to agree on, and serve as the basis for acceptance testing.

### What is the difference between acceptance criteria and the definition of done?

Acceptance criteria belong to one story and say what that story must do. The definition of done belongs to the team and says what quality measures any piece of work must meet before it counts, such as review, tests passed and documentation updated. The Scrum Guide defines it as a formal description of the state of the Increment when it meets the quality measures required for the product.

### Who writes acceptance criteria?

In our view the product owner or analyst proposes them, and the team agrees them in the conversation about the story. QA should be part of that conversation, because testers are the people who ask what happens when the input is wrong. The ISTQB syllabus says testers help improve user stories by asking the right questions.

### How do you write good acceptance criteria?

Our advice is to make each one a single, observable outcome with the data or limit stated, so someone can run a check and see pass or fail. Write at least one negative case for each positive one. Avoid words that cannot be measured, such as fast, easy or secure, and replace them with a number or a visible behavior.

### Can AI write acceptance criteria?

A model can turn a story into a first list of criteria, so the team edits a draft instead of starting from a blank page. Someone who knows the business then has to confirm that every criterion states the intent and not just a plausible behavior, and has to add what the model could not know, such as limits, rules from other systems and the cases your support team sees.

## Sources

- [ISTQB Certified Tester Foundation Level syllabus v4.0.1 (2024-09-15, newest edition read), sections 1.4.3, 3.1, 4.5.1, 4.5.2 and 4.5.3](https://istqb.org/wp-content/uploads/2024/11/ISTQB_CTFL_Syllabus_v4.0.1.pdf)
- [The Scrum Guide, November 2020 (newest edition read), Commitment: Definition of Done](https://scrumguides.org/scrum-guide.html)
- [Cucumber documentation, Gherkin reference (current docs)](https://cucumber.io/docs/gherkin/reference/)
- [Microsoft Learn, Agile process work item workflow, Azure Boards (last updated 2026-06-29)](https://learn.microsoft.com/en-us/azure/devops/boards/work-items/guidance/agile-process-workflow?view=azure-devops)
- [Microsoft Learn, Manage work items effectively, Azure Boards (current docs)](https://learn.microsoft.com/en-us/azure/devops/boards/backlogs/manage-work-items?view=azure-devops)
