The document discusses automation in software testing. It begins by outlining common claims made about the benefits of automation, such as saving time and improving quality, but argues that these claims often don't hold true. Automation does not inherently save time, guarantee quality, or reduce resources needed. It also does not always save money when development, maintenance, and infrastructure costs are considered. The document provides a formula for determining when automation is worthwhile based on how many times a test case would need to be rerun manually. It concludes by acknowledging that, despite these drawbacks, organizations will still automate testing because it is exciting, managers demand it, and it benefits careers.
21. Automation wasn’t working for us
Agile means our product is always changing
Automation was slowing down our testing
Automation was costing money
Frameworks change
23. Why You Shouldn’t Automate…
Automation does not save time
Automation does not guarantee quality
Automation does not mean fewer
resources
Automation does not save money
Good automation is not easy to write
24. What value is your
automation providing?
Should you stop automating?
25. Why You Will Still Automate
It is exciting
Your boss will ask for it
It looks good on the resume
28. The Formula
T(A) <= T(M) x 2.5
T(A) = Time to Write Automation
T(M) = Time to Run Manual Test
29. Example 1
10 minutes to run test manually
25 minutes to write the automation
If you run the automation more than 3 times
it was worth your time
25 < 10 * 3
Yes! Worth automating
30. Example 2
30 minutes to run manually
3 hours to automated (180 minutes)
Run test 10 times
180 < 30 * 10
Yes! Worth automating
31. Example 3
5 minutes to run manually
45 minutes to automate
Run 5 times
45 > 5 * 5
Not Worth Automating
33. Signs Your Automation Project is Failing
Vague responses to the status
Automation doesn’t run and report
regularly
Failed tests with apathy
No coverage metrics
36. Discussions with your manager
Seek first to understand, then to be
understood (Stephen Covey)
Set a clear picture of Reality
Provide a solution, not a complaint
Agree upon a realistic expectation
Ask for a time to return and report