Acceptance Criteria: Purposes, Formats, and Best Practices

AC = Acceptance Criteria = the conditions that a software product must meet to be accepted by a user, a customer, or other system. They are unique for each user story and define the feature behavior from the end-user’s perspective. Well-written acceptance criteria help avoid unexpected results in the end of a development stage and ensure that all stakeholders and users are satisfied with what they get.

Acceptance criteria main purposes
Feature scope detalization
Describing negative scenarios
Setting communication
Streamlining acceptance testing
Feature estimation

Acceptance criteria types and structures
scenario-oriented (Given/When/Then)
rule-oriented (checklist)
custom formats

Scenario-oriented acceptance criteria
Given some precondition
When I do some action
Then I expect some result

This approach was inherited from behavior-driven development (BDD) and provides a consistent structure that helps testers define when to begin and end testing a particular feature. It also reduces the time spent on writing test cases as the behavior of the system is described upfront.
Each acceptance criteria written in this format has the following statements:
Scenario — the name for the behavior that will be described
Given — the beginning state of the scenario
When — specific action that the user makes
Then — the outcome of the action in “When”
And — used to continue any of three previous statements

Rule-oriented acceptance criteria format
The rule-oriented form entails that there is a set of rules that describe the behavior of a system. Based on these rules, you can draw specific scenarios.

Article gives many examples and also covers:
Basic search interface acceptance criteria
Other formats
Roles responsible and how acceptance criteria are created

Main challenges and best practices of writing acceptance criteria
Document criteria before development
Don’t make AC too narrow
Keep your criteria achievable
Keep AC measurable and not too broad
Avoid technical details
Reach consensus
Write testable AC

Author = AltexSoft Inc (Medium)

Leave a Reply

Your email address will not be published. Required fields are marked *