
How to Write Acceptance Criteria That Can Actually Be Tested
Imagine a developer has finished building a new feature.
Everything appears to work. The code has been reviewed, the application runs, and the development team believes the task is complete.
Then a business stakeholder tries the feature and says:
"That's not what I expected."
The developer is confused, because the original request seemed straightforward. The stakeholder is frustrated, because the result doesn't support the way they work.
That gap — between describing a feature and defining what successful behaviour looks like — is exactly what acceptance criteria close. And learning how to write acceptance criteria is one of the fastest ways a junior Business Analyst can improve the quality of their requirements and reduce avoidable misunderstandings.
In short: acceptance criteria are the conditions a requirement or user story must meet before the work is accepted. They answer one question: "How will we know this works as expected?" If a developer and a tester can't agree from your criteria whether the work is done, the criteria aren't finished yet.
What are acceptance criteria?
Acceptance criteria are conditions used to determine whether a requirement or user story has been satisfied. They describe the outcomes or behaviour that need to be demonstrated for the relevant work to be accepted.
In simple terms, they answer the question: "How will we know this works as expected?"
Consider a user story:
"As a customer, I want to reset my password so that I can regain access to my account."
That statement explains the user's goal. But it doesn't describe all the conditions required for successful completion. How long should the reset link last? What happens if the link is used twice? What if the new password is too short?
Acceptance criteria provide that clarity. They turn a goal into something a team can build, test and agree on — before anyone writes a line of code.
Why are acceptance criteria important?
Different people can interpret the same requirement differently. Take that password reset:
A stakeholder may assume a reset link should expire after a certain period. A developer may not know that expectation exists. A tester may be uncertain about what should happen when an invalid reset link is used.
Without shared acceptance criteria, those differences stay hidden until late in delivery — usually until testing, or until a stakeholder tries the feature and says "that's not what I expected".
Good acceptance criteria help stakeholders, developers and testers agree on the intended result before work is considered complete. They don't eliminate every possible misunderstanding. But they give everyone the same basis for discussion and verification, instead of three different private interpretations.
Here is the practical way to think about it: requirements say what must be built. Acceptance criteria say how you will know it is built right. A project needs both, and the second one is where most junior BAs add the most value — because it is where the hidden assumptions live.
Acceptance criteria vs requirements
Requirements explain what a business or solution needs. Acceptance criteria describe specific conditions used to evaluate whether that need has been met.
The distinction is easier to understand through an example. A requirement might state:
"Registered users must be able to update their contact telephone number."
Acceptance criteria might clarify that a user can access the relevant account setting, enter an acceptable telephone number and save the change. They may also address what happens when the input fails agreed validation rules.
The requirement establishes the capability. The acceptance criteria define the expected outcomes.
If you are still working out what a requirement is in the first place, start with what business requirements are. And if you want the full method for writing the requirement itself, how to write business requirements covers that — this post is the third step: proving the requirement is done.
The format: Given-When-Then
One common way to express acceptance criteria is the Given-When-Then format. It describes an initial situation, an event, and the expected result.
Take the appointment cancellation example:
User story: As a customer, I want to cancel an upcoming appointment so that I can change my plans without contacting reception.
Given a customer is signed in and has an appointment eligible for cancellation, When the customer confirms the cancellation request, Then the system records the appointment as cancelled and displays confirmation.
That format makes the expected sequence easy to follow, and it is especially useful when behaviour depends on particular conditions. A reader can see the starting point, the action and the result in one breath.
But Given-When-Then isn't mandatory for every project or every acceptance criterion. Some teams use simple statements or structured checklists. A checklist works well when the criteria are independent conditions rather than a sequence — for example:
A customer can view appointments associated with their account. The customer can request cancellation of an eligible appointment. The system displays confirmation when cancellation is successful. An appointment that has already been cancelled cannot be cancelled again. The system communicates when an appointment is not eligible for online cancellation.
Choose the format that supports clarity and the team's agreed way of working. The format is not the point. Observable outcomes are the point. Whichever shape you use, a tester should be able to read a criterion and know exactly what to check — without asking you what you meant.
Four worked examples
The fastest way to learn this is to see it done properly, on different kinds of work. Here are four complete sets — each one states its agreed rules up front, covers the unhappy path as well as the happy one, and keeps one behaviour per criterion.
Example 1: Reset a password
User story: As a customer, I want to reset my password so that I can regain access to my account.
Agreed rules for this example: the reset link expires after 60 minutes; a link can be used once; the new password must be at least 8 characters.
Given a customer has requested a password reset and received a valid link, when they open the link within 60 minutes and enter a new password of at least 8 characters, then the password is updated and they can sign in with it immediately. Given a customer opens a reset link more than 60 minutes after it was sent, when they try to use it, then the system shows that the link has expired and offers to send a new one. Given a customer has already used a reset link successfully, when they try to open the same link again, then the system shows that the link has already been used and offers to send a new one. Given a customer enters a new password shorter than 8 characters, when they submit the form, then the system prevents submission and identifies the password rule that has not been met.
Notice what the last three criteria are doing. They are not extra detail. They are the cases where a real user gets stuck — and where a developer, left without criteria, would have to guess. The guess is where the "that's not what I expected" conversation comes from.
Example 2: Request annual leave
User story: As an employee, I want to request annual leave so that my manager can approve it and my remaining balance is updated.
Agreed rules for this example: requests need at least 5 working days' notice; a request cannot exceed the employee's remaining balance; the manager is notified as soon as a request is submitted.
Given an employee has 10 days of leave remaining, when they request 5 days starting at least 5 working days from today, then the request is recorded as pending, the manager is notified, and the balance still shows 10 days until approval. Given a manager has a pending leave request, when they approve it, then the request shows as approved and the employee's remaining balance reduces from 10 days to 5 days. Given an employee has 3 days of leave remaining, when they request 5 days, then the system prevents submission and shows that the request exceeds their remaining balance. Given an employee requests leave starting in fewer than 5 working days, when they submit the request, then the system prevents submission and explains the minimum notice rule. Given a manager has a pending leave request, when they reject it with a reason, then the request shows as rejected, the reason is visible to the employee, and the remaining balance is unchanged.
Two things to notice here. First, the balance only changes on approval — not on submission. That is a business rule a developer might get wrong if it isn't written down. Second, the rejection path has its own criterion, with the reason visible and the balance unchanged. The unhappy path is a first-class citizen in this list, not an afterthought.
Example 3: Change a delivery address before dispatch
User story: As a customer, I want to change the delivery address on my order so that it arrives at the right place.
Agreed rules for this example: the address can only be changed before the order is dispatched; a postcode must be in a valid format; the confirmation email shows the new address.
Given a customer has an order that has not yet been dispatched, when they update the delivery address and save it, then the order shows the new address and a confirmation email is sent showing that address. Given a customer enters a postcode in an invalid format, when they try to save the new address, then the system prevents submission and identifies the postcode field. Given a customer has an order that has already been dispatched, when they try to change the delivery address, then the system shows that the address can no longer be changed online and gives the contact route for the delivery team. Given a customer has changed the delivery address, when they view the order again, then the order history shows the change, the date it was made, and the previous address for reference.
The third criterion is the one most beginners miss: the cut-off. "Before dispatch" is a business rule with a real consequence — after dispatch, the online change simply isn't possible, and the criterion has to say what happens instead (contact the delivery team), not just that it fails.
Example 4: Cancel an appointment
User story: As a customer, I want to cancel an upcoming appointment so that I can change my plans without contacting reception.
Agreed rules for this example: only appointments that have not yet happened can be cancelled online; cancellation must be confirmed on screen; an appointment that has already been cancelled cannot be cancelled again.
Given a customer is signed in and has an appointment eligible for cancellation, when they confirm the cancellation request, then the system records the appointment as cancelled and displays confirmation. Given an appointment has already been cancelled, when the customer tries to cancel it again, then the system shows that it is already cancelled and offers no further action.
Given an appointment is not eligible for online cancellation, when the customer tries to cancel it, then the system explains why and gives the contact route for reception.
These four examples cover four different story types — account access, approval workflow, cut-off plus validation, and cancellation — and every one of them includes a negative path. That is deliberate. A set of acceptance criteria that only describes success is a set that hasn't been finished.
Keep them specific
Vague acceptance criteria can be as problematic as vague requirements. Consider:
"The system should handle invalid information correctly."
What counts as invalid? What does handling it correctly mean? Should the user see an error message? Should the information be rejected?
A more useful criterion identifies the relevant situation and the expected outcome:
"When a required field is empty, the system prevents submission and identifies the field that needs attention."
That statement is easier to assess. But any specific validation rule must still reflect an agreed business or solution requirement. Do not invent conditions simply to make the wording appear complete. A precise-sounding criterion built on a guessed rule is worse than an honest question — because the guess will be built and tested as if it were real.
Think about unsuccessful outcomes
New analysts often document only the successful path. A user enters valid information, clicks a button and receives confirmation.
But real applications also encounter invalid inputs, unavailable information and unsuccessful actions. Suppose a customer attempts to book a fully allocated appointment slot. What should happen? Should the system prevent the booking, display alternative availability, or suggest a different action?
The correct answer depends on the business requirements. Your responsibility is to recognise that the situation needs consideration — and to write the criterion for it, not to decide the answer yourself. Not every possible exception needs its own acceptance criterion, but the important business scenarios should not be overlooked. As a rule of thumb: if a stakeholder would be unhappy when it happens, it needs a criterion.
One criterion, one behaviour
An acceptance criterion that describes several unrelated actions becomes difficult to assess. For example:
"The user can submit the form, receive an email, update their account, generate a report and view a dashboard."
Those behaviours may not all belong in the same requirement, let alone the same criterion. If one part works and another doesn't, it is unclear whether the whole criterion has passed.
Separate distinct expectations. The right level of detail depends on the work, but readability matters — a tester should be able to mark each criterion pass or fail on its own, without a judgement call about which half counts.
Don't use acceptance criteria to hide missing decisions
Sometimes a BA starts writing acceptance criteria and discovers that important business rules are unknown. For example, you may need to know who is authorised to approve a refund.
The temptation is to select a reasonable rule and continue. That can be risky. Acceptance criteria should reflect agreed expectations, not assumptions presented as facts. When a decision is unresolved, record the question and identify who needs to clarify it.
That is part of good analysis — and it is often more valuable than producing a complete-looking set of criteria that nobody has validated. A blank space labelled "to be confirmed by Finance" is honest work. A guessed rule dressed up as a criterion is a defect waiting for a user to find it.
Work with developers and testers
Acceptance criteria are usually stronger when the relevant team members contribute to their review. Developers may identify areas where behaviour needs further explanation. Testers may recognise scenarios that would be difficult to verify. Business stakeholders can confirm whether the described outcomes match operational needs.
For a junior BA, this collaboration is an opportunity to learn. You don't need to have every answer before the discussion. You need to recognise the questions that matter and help the group reach a shared understanding. Walk into the review with your criteria drafted and your open questions listed — that is a much better starting point than walking in with nothing and hoping the meeting produces them.
Five mistakes to watch for
1. Subjective wording."Simple" or "intuitive" without an agreed meaning. If two people can disagree about whether it is simple, it is not a criterion.
2. Only the happy path. Documenting success and ignoring failure, invalid input and cut-offs. The unhappy path is where the real behaviour lives.
3. Invented business rules. Introducing a new rule that hasn't been confirmed, because the criterion looked incomplete without one. Record the question instead.
4. Unnecessarily technical language. Criteria written for developers when the intended audience needs to understand business behaviour. The stakeholder who has to accept the work must be able to read the criteria and recognise their own business in them.
5. Confusing criteria with test scripts. Test cases may include specific steps, input values and expected results. Acceptance criteria describe the conditions the work must satisfy. They are related, but they don't need the same level of detail — and a criterion that reads like a test script is usually hiding a requirement that was never properly written.
The 30-second check
Before sharing your criteria, read each one independently and ask:
Observable: could a tester check this without asking me what I meant?
Specific: does it name the situation and the expected outcome, with no "correctly" or "appropriately" doing the work?
One behaviour: can it pass or fail on its own, or is it three criteria in one sentence?
Unhappy path: is there a criterion for what happens when it goes wrong, not just when it goes right?
Agreed: is every rule in here something the business actually agreed — or did I invent one to make it look complete?
Connected: does this criterion genuinely relate to the original requirement, or is it beautifully written and irrelevant?
Six yeses and the set is ready to be reviewed. Fewer than six and you know exactly what to fix — and when you struggle to describe what successful behaviour looks like, that is usually a sign the requirement itself needs further analysis. That is not wasted effort. It is the work.
Where this fits
This post is the third of three. What business requirements are defines the terms. How to write business requirements teaches the 7-step method for writing them. This post is the finish: how to write acceptance criteria that prove the requirement is done, in a way a developer can build to and a tester can check.
Want the full method, with practice?
Learning how to write acceptance criteria properly is one part of the Requirements Writing method — the part that turns a well-written requirement into work a team can accept with confidence. Write Requirements Like a Professional Business Analyst teaches the whole sequence: recognising and categorising requirements, gathering information through interviews and workshops, analysing and prioritising with use cases and process models, organising requirements in a catalogue, and writing one capability per requirement — "shall be able to", or a user story with separate acceptance criteria. Then you validate what you wrote with stakeholders and handle change requests as the project evolves.
It ends with a requirements documentation assignment, worked on a case study, with a requirements workbook, a business requirements document template, and a worked data dictionary and wireframing example to organise your work. So you leave with a document you could actually hand to a team — not just notes from a video.
"I learned how to write clear, structured, build-ready requirements with confidence." — Frank, VP, Product Owner
The course is £297 as a single course, and it is also included in the Professional bundle (£497, seven courses) and the Complete bundle (£547, ten courses plus the e-book). If requirements writing is the skill your current project is demanding, start with the single course. If workshops, process mapping and impact analysis are also on your desk, the Professional bundle is the cheaper route to all of them.
Explore the Requirements Writing course →
Frequently asked questions
How do you write acceptance criteria? Start from the user story or requirement, then list the conditions that must be true before the work is accepted — each one observable, specific, and covering one behaviour. Use Given-When-Then for sequences (given a starting situation, when an action happens, then an expected result), and cover the unhappy path as well as the happy one.
What is an example of acceptance criteria? For a password reset: given a customer opens a reset link within 60 minutes and enters a new password of at least 8 characters, then the password is updated and they can sign in immediately. The full set in this post also covers expired links, reused links and passwords that are too short.
What is the difference between acceptance criteria and requirements? A requirement states what must be built — for example, registered users must be able to update their contact telephone number. Acceptance criteria state the conditions that prove it works — the user can access the setting, enter an acceptable number, save the change, and see the right message when the input fails validation.
Should acceptance criteria always use Given-When-Then? No. Given-When-Then is useful when behaviour depends on conditions or a sequence. Simple checklists work well when the criteria are independent conditions. Choose the format that supports clarity and the team's agreed way of working.
How many acceptance criteria should a user story have? Enough to cover the main path and the important edge cases — usually three to six. Fewer than three and the unhappy path is probably missing. Many more than six and the story is probably doing more than one job.
