on
4 Major Reasons Why Your Automation Tests Sucks!
1. If tests go well, you always question if you are doing it right. If everything doesn’t go well, you spend a lot of time to fix it
You know when you have a great automation architecture that you release fast and often, the team is not stressed and releases go smoothly. You release and boom, you need to release a hotfix for a bug or a crash that was missed by your tests. So what do we learn from this? You might be doing an anti-pattern.
What many teams do?
How it should be done?
2. Although you automate 100% of what could be automated because you believe manual testing sucks. You aim to catch bugs, provide fast feedback and release confidently but this DOES NOT PREVENT BUGS.
Great tests are designed about how to approach a testing problem, then figure out what’s suitable for automation, and what’s not suitable. Nevertheless, finding the automation line can be a tricky business. Test automation is just one tool from our tester toolbox that we can use to solve a specific set of testing problems and it may not work for everything you want to tackle. You need also to work on how to prevent bad code from getting in your production code, make use of static analysis tools to check for code smells.
3. 10 automated tests are better than 0 automated tests. Maybe that’s right but are they flaky?
Flaky tests are worse than no tests in my opinion and you should attack it once faced, that’s should be everyone’s priority or it could be moved to the backlog for the next 2 months! Assume a zero-tolerance culture on flakiness.
4. Code coverage may be queen but test design is KING!
Basic verification that would be hit by anyone walking through the basics of the application isn’t worth much. However, if your automation takes advantage of automation – meaning that loops, randomness, input variations, and loads of other ideas are part of the automation approach.