coding
Debugging
Advanced
Debug a flaky test without just retry-marking it and moving on
I have a test that fails ~1 in 20 runs. The test does [what]. The failure shows [paste the stack / assertion]. Before I add a retry decorator and forget about it, walk me through a root-cause hunt: (1) is it timing-depen…
💡 Order-dependence is the most common flakiness cause and the easiest to confirm: run the test in isol…
👁 20 views
Open prompt →