Quarantining a flaky test
QuizMediumAsked in: Capgemini
A flaky test blocks every pull request, and the fix will take a few days. What does quarantining it mean, done well?
- Move it out of the blocking run with a tag or group, keep running it in a separate non-blocking job, and track the fix with a ticket and an owner
- Delete it
- Comment out its assertions
- Mark it skipped forever without a note
This question is part of Pro+
Pro+ opens every question in Interview Prep and the mock interview. Every article and the first 2 questions of each topic stay free. Hands-on Selenium and API tasks follow their course lesson's own lock.