A Blog from QualiTest

The Test Automation Pesticide Paradox

Test Automation Services

Just like farmers have to keep changing pesticides to ensure that bugs don't develop immunity, you should also change your automation focus.

A few years ago someone explained to me the pesticide paradox of test automation. It was a term I had not heard of, and  I was given the following explanation:

Imagine yourself as a farmer whose fields are attacked by locusts. The damage is huge and all of the farmer’s crops are lost.  The loss is tremendous and means his family struggle to survive for the year and he knows that the next year he must take some precautions. He saves what little money he has available and spends this on a pesticide to treat his crops against locusts. Sure enough the locusts attack, but they are systematically killed saving most of his crop. The farmer is very happy but does not realize that his plan is flawed. 1 percent of the locusts did not die during the attack as they had a natural immunity to the pesticide. Each year the farmer now sprays his crops and kills locusts, but each year there are more locusts, which are born with the natural immunity. Eventually the farmer realizes that he must change his pesticide or risk losing his crop again.

So what is the moral of the story and how does it relate to automation?

Automation is often used as the means of performing tests that will be repeated; the most natural use is around the regression pack, akin to the farmer’s pesticide. With vast savings possible as a result of script automation, dramatically reducing the time taken to run them, it is a natural area to apply automation. In a well-organized test function, the subject of maintenance should be a natural step; as changes are made to the function, the automated scripts are modified and maintained up-to-date. The second aspect, which is a natural inclusion, is for new scripts to be automated to support wider regression and cover new functionality. So we cover what is known, what is changed and what is new. But if there is an area or function which is not altered, the automated scripts remain the same. Over a period of time, bugs can develop around the areas not covered by the automated regression pack. If the automation pack is our pesticide, the reliance on the same pesticide over time will become less effective at detecting defects and the code will be deemed to have passed testing, whilst the bugs are undetected and released into live, gradually increasing until the functionality is corrupted, resulting in production issues.

As test professionals, we must not repeatedly rely on the same scripts in our regression pack. This is more relevant in automation because of the overhead of creating new scripts, but equally applies to manual scripts. We can avoid complacency by increasing the size of the regression pack and alternating which scripts comprise the regression, but more importantly, we should take feeds from production, understand the issues that arise there and extend the regression coverage to pick up these areas as well. Of course there is no harm thinking “out of the box” and adding new scripts, perhaps asking a peer team to contribute or looking to introduce more negative testing, changing parameters or data to elicit different responses.

Locusts are bugs! Don’t let them corrupt your output! Keep things new and alter your approach.



42 thoughts on “The Test Automation Pesticide Paradox

  1. 123movies says:

    … [Trackback]

    […] Read More: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  2. … [Trackback]

    […] Find More Informations here: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  3. … [Trackback]

    […] Read More: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  4. DMPK Studies says:

    … [Trackback]

    […] Read More on|Read More|Find More Infos here|There you can find 77113 more Infos|Informations on that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  5. … [Trackback]

    […] Find More here|Find More|Read More Informations here|There you will find 23999 additional Informations|Informations to that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  6. … [Trackback]

    […] Find More here|Find More|Read More Informations here|There you will find 7773 more Informations|Infos to that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  7. … [Trackback]

    […] Find More here|Find More|Read More Infos here|Here you will find 5546 additional Infos|Informations to that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  8. … [Trackback]

    […] Find More on|Find More|Read More Infos here|There you will find 86804 additional Infos|Infos on that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  9. … [Trackback]

    […] Read More on|Read More|Find More Informations here|There you will find 44229 additional Informations|Infos to that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  10. … [Trackback]

    […] Find More on|Find More|Find More Informations here|Here you will find 30223 more Informations|Informations to that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  11. … [Trackback]

    […] Read More here|Read More|Find More Informations here|Here you can find 97025 additional Informations|Informations on that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  12. … [Trackback]

    […] Find More on|Find More|Find More Informations here|Here you will find 41266 additional Informations|Infos to that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  13. … [Trackback]

    […] Read More on|Read More|Find More Infos here|There you can find 67770 more Infos|Informations on that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  14. … [Trackback]

    […] Find More here|Find More|Read More Infos here|There you will find 51914 additional Infos|Informations on that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  15. … [Trackback]

    […] Read More here|Read More|Read More Informations here|There you will find 63361 additional Informations|Informations on that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  16. … [Trackback]

    […] Find More here|Find More|Find More Infos here|Here you will find 67863 more Infos|Informations on that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  17. … [Trackback]

    […] Find More on|Find More|Find More Infos here|Here you will find 80946 more Infos|Informations on that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  18. church suits says:

    … [Trackback]

    […] Find More here|Find More|Find More Infos here|Here you will find 42216 additional Infos|Informations to that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  19. … [Trackback]

    […] Read More on|Read More|Read More Informations here|Here you will find 99262 additional Informations|Infos on that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  20. 움짤 says:

    … [Trackback]

    […] Read More here|Read More|Find More Informations here|There you will find 28098 more Informations|Informations to that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  21. … [Trackback]

    […] Find More on|Find More|Find More Infos here|Here you will find 8905 additional Infos|Infos to that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  22. … [Trackback]

    […] Find More here|Find More|Find More Infos here|Here you will find 77452 more Infos|Infos on that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  23. … [Trackback]

    […] Read More on|Read More|Find More Infos here|There you will find 14305 additional Infos|Infos to that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  24. … [Trackback]

    […] Read More here|Read More|Find More Informations here|Here you will find 32183 more Informations|Informations to that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  25. ar iq says:

    … [Trackback]

    […] Find More here|Find More|Read More Informations here|There you can find 19495 more Informations|Infos to that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  26. sbobet303 says:

    … [Trackback]

    […] Read More here|Read More|Read More Informations here|There you can find 17791 more Informations|Informations to that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  27. … [Trackback]

    […] Find More on|Find More|Find More Informations here|There you will find 5091 additional Informations|Informations to that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  28. … [Trackback]

    […] Find More on|Find More|Read More Infos here|Here you can find 93927 more Infos|Informations on that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  29. … [Trackback]

    […] Find More on|Find More|Find More Infos here|Here you can find 62647 additional Infos|Informations on that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  30. … [Trackback]

    […] Read More on|Read More|Find More Informations here|Here you can find 77276 additional Informations|Informations on that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  31. … [Trackback]

    […] Read More here|Read More|Find More Informations here|There you will find 97016 more Informations|Infos on that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  32. … [Trackback]

    […] Find More here|Find More|Read More Informations here|There you will find 20997 more Informations|Informations to that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  33. … [Trackback]

    […] Find More on|Find More|Read More Informations here|There you can find 15868 additional Informations|Infos to that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  34. fuck islam says:

    … [Trackback]

    […] Read More here|Read More|Read More Infos here|Here you can find 64489 more Infos|Informations on that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  35. … [Trackback]

    […] Find More here|Find More|Read More Infos here|There you will find 51547 more Infos|Informations on that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  36. UK Chat says:

    … [Trackback]

    […] Find More on|Find More|Find More Infos here|There you can find 59819 more Infos|Infos on that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  37. … [Trackback]

    […] Find More here|Find More|Find More Informations here|There you will find 95172 more Informations|Infos on that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  38. … [Trackback]

    […] Read More on|Read More|Read More Informations here|Here you can find 92160 more Informations|Infos on that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  39. … [Trackback]

    […] Find More here|Find More|Find More Informations here|There you can find 83014 additional Informations|Informations on that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  40. … [Trackback]

    […] Read More here|Read More|Find More Infos here|Here you can find 44622 more Infos|Informations to that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  41. … [Trackback]

    […] Read More on|Read More|Read More Informations here|Here you will find 48190 more Informations|Infos to that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

  42. … [Trackback]

    […] Read More here|Read More|Read More Infos here|Here you will find 85571 additional Infos|Infos on that Topic: qualitestgroup.com/blog/test-methodologies-and-philosophies/the-test-automation-pesticide-paradox/ […]

Comments are closed.