<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>For those of you dreaming the 100% automation dream...please wake up!</title><link>http://blogs.msdn.com/imtesty/archive/2006/08/02/686010.aspx</link><description>My respected colleague Keith Stobie recently posted to his blog my response an internal query regarding “unrealistically high” goals for the percentage of tests that are automated. (Since, I have been remiss in my public rants I will reuse Keith’s post.</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: For those of you dreaming the 100% automation dream...please wake up!</title><link>http://blogs.msdn.com/imtesty/archive/2006/08/02/686010.aspx#733185</link><pubDate>Thu, 31 Aug 2006 12:00:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:733185</guid><dc:creator>Michael Bolton</dc:creator><description>&amp;quot;Ed Kit and James Hancock have estimated that an automated test must run 15-17 times to break even on the cost of developing that test.&amp;quot;&lt;br&gt;&lt;br&gt;This is a fascinating example of testing mythodology and bizarre accounting. &amp;nbsp;I particularly love the bogus precision of &amp;quot;15-17&amp;quot;.&lt;br&gt;&lt;br&gt;Kit, Hancock, and many others seem to assume that the value of automating a test should be calculated as a function of the number of times that it is run. &amp;nbsp;Wouldn't it be the case that an automated test that finds an important bug on the first run has a very high value? &amp;nbsp;&lt;br&gt;&lt;br&gt;A good automated test extends human capabilities beyond their usual reach. &amp;nbsp;Does an automated test that stresses the system by simulating 10,000 users need to run 15 (or 17) times before it provides value?&lt;br&gt;&lt;br&gt;A good automated (unit) test detects unwelcome changes, and thus returns some amount of value every time it is run. &amp;nbsp;Does it cross some magic threshold at 15 (or 17) times?&lt;br&gt;&lt;br&gt;There are at least five value factors and five cost factors for every test, whether manual or automated. &amp;nbsp;Most of these involve some degree of uncertainty, so any attempt to calculate a precise value will return some number times uncertainty to some exponent.&lt;br&gt;&lt;br&gt;In terms of your argument about 100% automation, I agree. &amp;nbsp;My proposal is that, if we're going to automate 100% of testing, why not go the whole hog and automate 100% of the programming? &amp;nbsp;It's a much better return on investment, because programmers outnumber testers, and the programmers typically get paid more. &amp;nbsp;So what if it would be hard to do--we should strive for it, shouldn't we? &amp;nbsp;&amp;lt;-satire&lt;br&gt;&lt;br&gt;---Michael B.</description></item><item><title>re: For those of you dreaming the 100% automation dream...please wake up!</title><link>http://blogs.msdn.com/imtesty/archive/2006/08/02/686010.aspx#735863</link><pubDate>Sat, 02 Sep 2006 00:35:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:735863</guid><dc:creator>I.M.Testy</dc:creator><description>&lt;P&gt;&lt;FONT face=Tahoma color=#000080 size=2&gt;Michael, you are confusing value and cost. &lt;BR&gt;&lt;BR&gt;Kit and Hancock are specifically talking about the overall cost of GUI automated testing. They do not broach the subject of test value or effectiveness. &lt;BR&gt;&lt;BR&gt;I assumed whomever might retort the conclusions that Kit and Hancock derived from their studies would be familiar with their work. (I also assumed the reader wouldn't confuse the terms 'cost' and 'value.') &lt;BR&gt;&lt;BR&gt;So, perhaps instead of wild speculation you can share with us your reference of a detailed study or other empirical evidence that offers a counter-argument to Kit and Hancock's findings.) &lt;BR&gt;&lt;BR&gt;A load test simulating 10000 concurrent users should be automated because its overall value is very high and it would be virtually impossible to perform manually. But, the cost of developing such a test is also high. &lt;BR&gt;&lt;BR&gt;But a functional test that I might run only once (or once per milestone) may not be a good candidate for automating because the cost of developing that test might exceed a reasonable return on investment. (Oh, by the way, the majority of bugs are found during the design/development phase of GUI test automation; not during the execution of GUI test automation. Some studies demonstrate GUI test automation exposes between 5 - 15% of all defects discovered during a development lifecycle.) &lt;BR&gt;&lt;BR&gt;My point in using the information presented by Kit and Hancock is to get professional testers to think about automation and make smart business decsions about what GUI tests to automate in order to derive the greatest value for their effort.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma color=#000080 size=2&gt;- Bj -&lt;/FONT&gt;&lt;/P&gt;</description></item></channel></rss>