Designing acceptance criteria
The user is asking how to design effective acceptance criteria that align with both functional and non-functional requirements, likely in a software/agile context. I need to explain what acceptance criteria are, how they connect to requirements, and provide a clear structure along with examples of functional and non-functional requirements. I'll also touch on techniques like INVEST, Given-When-Then, and SMART. It’ll be essential to clarify the purpose of acceptance criteria and detail the process for deriving them from requirements while ensuring everything is concise yet informative.Creating acceptance criteria templates
I’m working on a document with templates that includes a traceability matrix. It's important to provide examples, like login features and non-functional requirements, such as "Response time under 2 seconds for the 95th percentile with 500 concurrent users." I need to consider agile frameworks like BDD and clarify the difference between acceptance criteria and acceptance tests. I'll also create a checklist for NFR-specific acceptance criteria, ensuring alignment through mapping and including NFR at various levels while using "quality scenarios." Let’s outline the content clearly.Outlining a step-by-step approach
I need a step-by-step approach to designing acceptance criteria. First, I'll clarify the scope by identifying business goals, users, and regulations while categorizing requirements. For functional criteria, I’ll derive BDD-style examples. For non-functionals, it’s about converting vague qualities into measurable acceptance criteria using a "quality attribute scenario" template and providing a table with examples. I must also align criteria across levels, involve collaboration via "3 amigos" sessions, ensure testability, and maintain traceability through a simple matrix. Ready-to-use templates and a concise checklist will help too! Designing effective acceptance criteria is mostly about making every requirement—functional or non-functional—concrete, measurable, and testable.
Below is a practical approach you can use.
1. Clarify what acceptance criteria are
Acceptance criteria (AC) describe conditions that must be true for a feature to be accepted. They:
- Express intended behavior or quality from a user/business point of view
- Are written so that they can be verified objectively (via tests, inspection, or measurement)
- Serve as a shared contract between Product, Dev, QA, and stakeholders
2. Principles of good acceptance criteria
Regardless of type (functional or non-functional), good AC are:
- Unambiguous – only one reasonable interpretation
- Testable – clearly pass/fail
- Specific and measurable – avoid vague words like “fast”, “secure”, “intuitive”
- Atomic – each criterion checks one main thing
- Relevant – tied directly to a requirement or business goal
A handy check: Can QA design an automated or manual test directly from this sentence without guessing?
3. Designing AC for functional requirements
Functional requirements describe what the system should do.
Process
- Start from user stories/use cases.
- Identify main flow, alternate flows, and edge cases.
- Capture them using a consistent format (e.g. BDD’s Given–When–Then).
Example (Login feature)
User story:
“As a registered user, I want to log in so that I can access my account.”
Acceptance criteria:
-
Successful login
- Given a registered user with a valid email and password
When they submit the login form
Then they are redirected to the dashboard
And they see their first name in the header
-
Invalid credentials
- Given a registered user
When they enter an incorrect password
Then the system does not authenticate them
And an error message “Email or password is incorrect” is displayed
-
Locked account
- Given a user enters an incorrect password 5 times within 10 minutes
When they attempt to log in again
Then their account is locked for 15 minutes
And an email notification is sent to their registered email address
Each criterion is concrete and clearly testable.
4. Designing AC for non-functional requirements (NFRs)
Non-functional requirements describe how well the system should behave (performance, security, usability, reliability, etc.).
The most common mistake is leaving NFRs too vague. Convert them into quality scenarios:
In [context], when [stimulus], the system [response] with [measurable threshold].
4.1 Performance example
Requirement: “The system must be fast.”
Refined AC:
- Under normal load of 500 concurrent users, 95% of dashboard page requests complete in ≤ 2 seconds (server-side) over 10-minute test runs.
- Under peak load of 2,000 concurrent users, search results return in ≤ 4 seconds for 90% of requests.
4.2 Security example
Requirement: “The system must be secure.”
Refined AC:
- All external HTTP endpoints enforce HTTPS; HTTP requests are redirected to HTTPS with a 301 status code.
- Passwords are stored using bcrypt with a work factor of 12 or higher.
- After 5 failed login attempts within 10 minutes, the account is locked for 15 minutes and further attempts return HTTP 423 (Locked).
- The application has no open High or Critical vulnerabilities according to the company’s security scan tool before release.
4.3 Usability example
Requirement: “The UI must be user-friendly and accessible.”
Refined AC:
- All new UI screens comply with WCAG 2.1 AA guidelines (as verified by automated tool + manual spot checks).
- Form errors are displayed inline next to the field, in red, with clear text explaining how to fix the error.
- All interactive elements are reachable by keyboard navigation and have visible focus states.
4.4 Reliability/Availability example
Requirement: “The system must be highly available.”
Refined AC:
- The system provides 99.9% uptime per calendar month, excluding planned maintenance windows.
- In case of a single node failure, ongoing user sessions are not lost, and in-flight requests are retried or fail gracefully with a user-friendly error page.
5. Aligning AC across levels: story, feature, system
Some NFRs apply to every story (e.g., security, logging); others are cross-cutting.
Use multiple layers:
-
Story-level AC
- Specific behaviors and qualities for that story.
- Example: “Search results load in ≤ 2 seconds under normal load.”
-
Feature/epic-level AC
- Behavior or qualities that span several stories.
- Example: “All reports support export in CSV and PDF.”
-
Global constraints / Definition of Done (DoD)
- Organization-wide NFRs that apply to all work items.
- Examples:
- All new endpoints require authentication and authorization checks.
- All new UI changes pass automated accessibility checks.
- No new Critical or High severity static analysis issues.
This ensures non-functional requirements are not forgotten when writing per-story AC.
6. Make AC traceable and test-backed
To truly align with requirements:
-
Map each requirement → one or more AC → one or more tests.
Simple traceability matrix:
| Requirement ID | Type | Acceptance Criteria ID(s) | Test Case ID(s) |
|---|
| FR-01 | Functional | AC-01, AC-02 | TC-01..TC-05 |
| NFR-03 | Performance | AC-10, AC-11 | PERF-01..PERF-03 |
-
Ensure every AC has at least one test:
- Functional AC → unit/integration/UI tests
- Performance AC → load/performance tests
- Security AC → security scans/pen tests
- Usability/accessibility AC → UX reviews, accessibility tools, user tests
7. Collaboration: how to actually write them
Bring together the “Three Amigos” for each story/feature:
- Product Owner/BA (business intent)
- Developer (feasibility, technical constraints)
- Tester/QA (testability, edge cases)
In that discussion:
- Review the requirement (functional or non-functional).
- Ask: “How will we know this is done and acceptable?”
- Write AC as clear, testable statements.
- Challenge vague words until they become measurable.
8. Templates you can adopt
Functional AC (BDD-style)
- Given [initial context]
When [event/action]
Then [observable outcome]
And [additional outcome]
Non-functional AC (quality scenario)
- In [environment/load/failure condition]
When [stimulus/event/operation]
Then the system [response/behavior]
And [quantitative measure or standard]
9. Quick checklist
Before you finalize acceptance criteria, check:
If you’d like, you can share a sample requirement (functional and/or non-functional), and I can help you turn it into concrete acceptance criteria.