
Flake it till you make it - how to handle flaky tests
The Stack Overflow Podcast
00:00
Detecting Flaky Test Cases as Developers
Sometimes the test may be flaky, but then it might not manifest as a failure for a very long time. So one of the things that you do is simply rerun those test cases repeatedly. Another thing that I have found helpful in addition is to like, if possible, randomly order the execution of my test suite. And so then I don't get stuck in a situation where I have to quarantine a test case or delete a test case.
Transcript
Play full episode