QA Fundamentals · Senior · Question 13 of 76
How would you reduce flakiness across a large test suite?
- 1Increase every timeout in the whole suite to five minutes or more
- 2Measure flake rates, quarantine, fix root causes and set ownership
- 3Run each test three times and accept any single pass
Show the answer
Correct answer: Measure flake rates, quarantine, fix root causes and set ownership
Explanation
Data on which tests flake and why (timing, shared state, environment) turns flakiness into a backlog. Blind retries and long timeouts only hide problems.