Deflaking flaky tests

Flaky automated tests are a real drag. They’re worse than no tests at all. That being said, you can take measures to eradicate them.

Where I work folks have (finally) become test-infected, which means non-dedicated testers are writing unit, and even functional tests for themselves. Because of their lack of testing experience, a lot of these testers write tests, run them once, and bask in the green. The test may happen to pass the first time it runs, then he/she commits it to master and all’s well, right? Continue reading “Deflaking flaky tests”