API Testing · Senior · Question 50 of 75
How should flaky API tests be measured and handled?
- 1Add three retries to every test and stop tracking failures
- 2Delete any test that fails twice in a single week
- 3Track flake rate per test, quarantine with owners and fix causes
Show the answer
Correct answer: Track flake rate per test, quarantine with owners and fix causes
Explanation
Flakes often reveal real race conditions in async processing. Data shows where to invest.