Acceptance criteria
Testable statements that define when a requirement is done and correct.
Definition
Acceptance criteria are testable statements that define done.
They convert a requirement into something you can validate.
Useful format
Given, when, then:
- Given some initial state.
- When an action happens.
- Then the result is observable and correct.
Example
Given a valid link code.
When a client requests GET /{code}.
Then the service returns a redirect to the stored destination URL.