Codewriters

Acceptance criteria examples for software tasks

By Daniel Frost · 5 min read

Acceptance criteria are the lines that decide whether a delivery is accepted. If they are clear, payment is a formality. If they are loose, every delivery becomes a discussion.

What makes a criterion testable

A criterion is testable when two people can run it and agree on the result. “The page is fast” is not testable. “The page shows results in under two seconds for a list of 500 items on a standard laptop” is.

Examples for a form

  • A required field left empty shows an error next to the field and keeps what the user typed.
  • The submit button is disabled while the request is running.
  • After success the user sees a confirmation and the form is cleared.

Examples for an API endpoint

  • A valid request returns status 200 and the fields listed in the ticket.
  • A missing or invalid token returns status 401 with no data.
  • A request with a wrong field type returns status 422 and names the field.

Examples for a report or export

  • The export contains one row per order and the totals match the dashboard.
  • Dates use the format named in the ticket and the time zone is stated in the header.

Keep the list short

Five to ten criteria per task is plenty. If you need thirty, split the task. Each criterion should map to one check that a reviewer can run in a minute.