We use analytics to count visits and form use. It is on unless you reject it. We show no ads on this site.

Glossary

Acceptance criteria

Published . Last updated . Published by Zapple.Tech, founded by the founders of CodeceptJS and Codeception, open-source testing frameworks.

Also called
acceptance criterion
Published
Updated
Related service
Functional testing
Definition

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 (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 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. Each criterion should turn into at least one test case; the rows of a requirements traceability matrix point at them.

Acceptance criteria: one user story yields several criteria, positive scenarios, negative scenarios and rules, and each criterion becomes at least one check; a vague criterion is rewritten as an outcome a check can observe

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 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 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 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 keeps that method.

Do not confuse the criteria with the team’s definition of done. The Scrum Guide 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. 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 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 page. Tell us about your product in the form below.

  • User acceptance testing

    User acceptance testing (UAT) is the stage of software development in which the people who will use the software, not the QA team alone, confirm that it meets their business needs and is ready for deployment. It is one form of acceptance testing. UAT validates fitness for use; system testing checks the system against its specification.

  • Behavior-driven development

    Behavior-driven development (BDD) is a way of working in which developers, testers and business people agree how software should behave by writing concrete examples in plain language, usually as Given/When/Then scenarios, and then automate those examples as tests. The conversation comes first; Gherkin and Cucumber are its notation and tooling, not BDD itself.

  • Test case

    A test case is one specified check of the software: the conditions it starts from, the inputs and steps, and the result expected. It can be run by a person or by a tool. A good one is traceable to a requirement and states its expected result, so you and a colleague running it reach the same verdict.

  • Requirements traceability matrix

    A requirements traceability matrix is a table that links each requirement to the design, tests and results that show it was met. It answers two questions: which requirement does this test cover, and which tests cover this requirement. In our view, teams facing audits or contracts keep one as evidence; others read the answer from their tracker.

  • Spec-driven development

    Spec-driven development is a way of building software in which a written specification, not the code, is the main artifact. You write the spec first, then an AI coding tool generates a plan, code and tests from it. In our view the spec needs a reviewer, and the code needs tests that do not come from the same spec.

All terms in the glossary

Test with AI

Functional testing

Functional testing services: each feature checked against its requirements, by automated tests in CI and by testers where judgement counts. One-week audit.

See the service

Questions about acceptance criteria

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.

Request a QA audit quote

Tell us what you ship and what worries you.

What happens after you send this

  1. You send the form: your situation and what you need tested, then your name and work email.
  2. Within one business day, we reply with a suggested first step, its scope, timeline and a quote.
  • Fixed scope
  • You decide after each step
  • The tests live in your repository
  • An NDA signed before access

“They helped us to close the positions and consult our team how to proceed further. High-quality quick feedbacks with the deep checking of the required tasks, professional approach, great understanding of the company's technologies and product, detailed reports.”

Kristina Lavrentieva, Manager at keepgo.com, Israel
  • Rated 4.9 out of 5 on Clutch, from 7 client reviews
  • 42 completed test automation and infrastructure projects
  • Founded by the founders of CodeceptJS and Codeception, open-source testing frameworks

Request a QA audit quote

    What is closest to your situation?
    Optional. The product, the platforms, how often you release, what broke last.

    You decide after our reply whether to go ahead.

    Prefer to talk first? Book a call

    One-week QA audit · written report

    Request a QA audit quote