Acceptance criteria are the conditions a feature must meet before the business accepts it as complete. They turn a requirement such as “users can reset their password” into specific, testable statements: what happens when the email exists, when it does not, how long the link lasts and what message appears. In custom web application projects, clear acceptance criteria prevent misunderstandings between business and developers, make testing efficient and give everyone an objective basis for sign-off. This guide explains how to write acceptance criteria that work.
Why Acceptance Criteria Matter
Without acceptance criteria, “done” means different things to different people. A developer may consider a feature finished when it works in the main scenario. A business user expects it to handle every real-world case. The gap leads to rework, disputes and delays. Acceptance criteria close the gap by agreeing expectations before development starts.
They also:
- Help developers estimate work accurately
- Guide testers in writing test cases
- Reduce scope creep by defining boundaries
- Provide evidence for contract sign-off
Characteristics of Good Acceptance Criteria
Good acceptance criteria are:
- Specific: describe exact behaviour, not general qualities
- Testable: a tester can confirm pass or fail
- Clear: written in plain language that business users understand
- Complete: cover main paths, alternatives and important errors
- Independent of implementation: describe what, not how
“The page should be fast” is not testable. “The order history page loads within two seconds for customers with up to 500 orders” is.
Common Formats
Given-When-Then
This format describes a scenario in three parts:
- Given a starting context
- When an action happens
- Then an expected outcome follows
Example:
- Given a dealer is logged in with a credit limit of ₹5,00,000 and ₹4,50,000 outstanding
- When they submit an order worth ₹80,000
- Then the order is placed on hold and the message “This order exceeds your available credit” appears
Rule-Based Checklists
For simpler features, a list of rules works well:
- Password must be at least 12 characters
- Reset links expire after 30 minutes
- Users receive a confirmation email after resetting
- Five failed attempts lock the account for 15 minutes
Step-by-Step: Writing Acceptance Criteria
1. Start From the User Story or Requirement
For example: “As a customer, I want to download my invoices so I can submit them to my accounts team.”
2. Identify the Main Scenario
Customer logs in, opens invoices, downloads a PDF.
3. Add Alternative and Edge Cases
- Customer has no invoices yet
- Invoice is still being generated
- Customer belongs to a company with several users
- Invoice includes multiple tax rates
- Very old invoices from the previous system
4. Include Error Handling
- PDF generation fails
- Session expires during download
5. Add Non-Functional Criteria Where Relevant
Performance, security, accessibility and browser support:
- Invoices list loads within two seconds for 1,000 invoices
- Users cannot access invoices belonging to other companies
- Download buttons are accessible by keyboard and screen readers
6. Review With Stakeholders
Developers, testers and business owners review criteria together. Developers often spot technical constraints; testers find gaps; business users confirm expectations.
Acceptance Criteria Example Table
| ID | Scenario | Criteria |
|---|---|---|
| INV-01 | Download invoice | Given a logged-in customer with invoices, when they click Download on an invoice, then a PDF matching the ERP invoice downloads |
| INV-02 | No invoices | Given a customer with no invoices, when they open Invoices, then the message “You have no invoices yet” appears |
| INV-03 | Data security | Given a user from Company A, when they request an invoice URL from Company B, then access is denied and logged |
| INV-04 | Filtering | Given 200 invoices, when filtering by date range, then only invoices within the range appear |
Acceptance Criteria and Testing
Testers turn acceptance criteria into test cases, often one or more per criterion. Automated tests can be written directly from Given-When-Then scenarios using behaviour-driven development tools. This keeps tests aligned with business expectations. Our website testing and QA process uses acceptance criteria as the backbone of test plans.
When to Write Acceptance Criteria
Write them before development of each feature begins, ideally during discovery or sprint planning. Refine them as understanding improves, but agree any changes formally. Criteria written after development tend to describe what was built rather than what was needed.
Common Mistakes
- Vague criteria such as “user-friendly” or “fast”
- Only covering the happy path
- Describing technical implementation instead of behaviour
- Writing criteria after development
- No business sign-off on criteria
Example: Preventing a Costly Misunderstanding
A logistics company requested “shipment tracking” in its customer portal. Acceptance criteria revealed that customers needed tracking for multi-leg shipments across three carriers, with estimated delivery updates and email alerts on delays. The original estimate assumed a single carrier link. Agreeing criteria before development avoided building the wrong feature and enabled an accurate revised estimate.
Acceptance Criteria for Integrations and Reports
Integrations and reports need criteria just as much as screens. For an integration, define what triggers data transfer, how quickly it must happen, which fields must match, what happens when the other system is unavailable and how errors are reported. For example: “Given an order is paid, when the payment webhook is received, then the order appears in the ERP within five minutes with matching SKUs, quantities and totals; if the ERP is unavailable, the order is queued and retried, and an alert is sent after three failures.” For reports, define filters, totals, rounding, date boundaries and who can see them. Report criteria often reveal disagreements about definitions, such as whether revenue includes tax, which are much easier to resolve before development. Our website integration services and website analytics dashboard projects always start with criteria like these.
Frequently Asked Questions
Who Writes Acceptance Criteria?
Usually a business analyst or product owner, with input from developers, testers and business users.
How Many Criteria Should Each Feature Have?
Enough to cover main paths, alternatives and key errors, often three to ten per feature.
Are Acceptance Criteria Part of the Contract?
They can be. Including them in scope documents makes sign-off objective.
Clear acceptance criteria turn requirements into results everyone agrees on. Explore our web application development, review website development consulting, learn about website architecture planning, see logistics website development, check our web development FAQs, read our process, browse website development guides, or contact us.
