🧪Acceptance Test
Also known as Acceptance Testing, Acceptance Tests, Acceptance Criteria Test
A test that checks a feature does what was asked for.
Think of it like
Think of it like checking a cake against the order. Is it the kind the customer asked for?
Example
The task says a shopper can pay with a saved card. The acceptance test logs in, picks the saved card and checks the order goes through.
Why it matters
Code can pass every unit test and still not do what the user wanted. This test asks the real question.
Definition
Common mistake
Key takeaways
- 1User's view. Checks what the user asked for.
- 2Defines done. All pass, feature finished.
- 3Write it first. Agree on it before coding.