← All articles

·4 min read

How to Write Acceptance Criteria for a Custom Software Project

Write each criterion as a testable statement with a starting condition, an action and an expected result, so both sides can agree when work is done.

Acceptance criteria are short, testable statements that say when a feature is done. Write each one with a starting condition, an action and an expected result, in words a staff member could check without a developer. Agree on them before the build starts and use them as the script for user acceptance testing (UAT) before sign-off.

Key takeaways

  • A criterion is usable when two people would reach the same pass or fail result.
  • Cover exceptions and permissions as well as the normal path.
  • Use real examples from your business, including awkward ones.
  • Tie payment milestones to accepted criteria. A calendar date is a weak trigger for payment.

What format should you use?

The "given, when, then" format works for most business software:

  • Given a starting condition
  • When a user does something
  • Then the system produces a result that can be checked

Example for an invoice approval feature:

  • Given an invoice of $5,000 or less, when a manager approves it, then its status changes to Approved and the accounting clerk is notified by email.
  • Given an invoice above $5,000, when a manager approves it, then its status changes to Awaiting Second Approval and the owner is notified.
  • Given an invoice already approved, when anyone tries to change the amount, then the system blocks the change and shows a message.

What makes a criterion weak or strong?

WeakWhy it failsStronger version
The system should be fastNo number and no conditionGiven 5,000 orders, the order list loads in under 3 seconds on the office network
Users can manage customers"Manage" is undefinedA staff user can add, edit and deactivate a customer, and cannot delete one
Reports are accurateNo reference to compare againstThe March sales report total matches the March total in the accounting system
The app works on mobileNo devices namedThe booking form can be completed on the current Safari and Chrome on a phone

What should the criteria cover?

  1. Normal path. The usual case, with real example data.
  2. Exceptions. Missing information, duplicates, cancellations and refunds.
  3. Permissions. Who can view, create, change and approve.
  4. Data. What is imported, what is required and how errors are reported.
  5. Integrations. What is sent to other systems, when, and what happens if they are unavailable.
  6. Performance and devices. Expected volumes, response times and supported browsers.

How do you run user acceptance testing?

  1. Pick two or three staff who do the workflow every day.
  2. Give them the criteria as a checklist and a test environment with realistic data.
  3. Ask them to mark each criterion pass or fail, with a screenshot for each failure.
  4. Classify each failure: a defect against an agreed criterion, or a new request.
  5. Retest fixed defects, then sign off in writing.

The classification in step 4 matters. A defect is the vendor's to fix under the agreed scope. A new request is a change, and it should be estimated and approved separately.

How would this work in a fictional project?

A property manager orders a maintenance request tool. One criterion reads: "Given a tenant submits a request marked urgent after 6 p.m., when the request is saved, then the on-call technician receives a text message within one minute." During UAT the message arrives by email only. Because the criterion was written down, both sides agree it is a defect, and it is fixed before sign-off without a debate about scope.

How do criteria connect to the contract?

Attach the criteria to the statement of work and state that a milestone is complete when its criteria pass. This protects both sides under fixed price or time and materials. If you are still preparing a project, the custom software scoping brief shows where acceptance cases fit.

Discuss a software project with Wizy.

Frequently asked questions

Who should write the acceptance criteria?

The business and the vendor together. The business knows the workflow and its exceptions. The vendor knows how to phrase criteria so they can be tested. The business approves the final list.

How many criteria does a feature need?

Enough to cover the normal path, the main exceptions and permissions. A simple feature may need three to five. A workflow with approvals may need a dozen or more.

What if we discover a missing criterion during testing?

Treat it as a change. Write the new criterion, ask for its effect on cost and dates, and approve it before the work is done.

Is user acceptance testing the same as the vendor's testing?

No. The vendor tests that the software works as built. UAT is your staff confirming that it meets the agreed criteria in conditions close to real use.