QA Fundamentals · Middle · Question 73 of 75
Why should automated tests have clear failure messages?
- 1Clear messages make tests pass more often
- 2Failure messages are shown to end users of the app
- 3People can diagnose failures without rerunning tests
Show the answer
Correct answer: People can diagnose failures without rerunning tests
Explanation
'Expected total 90, got 100 for VIP user' saves hours compared to 'assertion failed'. Screenshots, logs and traces help too.