I've worked with teams that were scarred by their previous automated testing...
I've worked with teams that were scarred by their previous automated testing experience.
"Tests were a hinderance. We wasted lots of time on slow, flaky tests".
There are many reasons that tests may be flaky.
🚫The DB may be flaky.
🚫The app may be flaky.
🚫The backend APIs may be flaky.
🚫The environment itself may be flaky.
So flaky tests don’t necessarily mean the tests are bad. Sometimes flaky tests merely shine a spotlight on existing issues.
Adding tests to a flaky app leads to flaky tests.
Solution? Fix the root cause of the flake.