<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Automate All Tests</title>
	<atom:link href="http://blog.james-carr.org/2007/05/02/automate-all-tests/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.james-carr.org/2007/05/02/automate-all-tests/</link>
	<description>Rants and Musings of an Agile Developer</description>
	<pubDate>Sat, 22 Nov 2008 07:55:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: redsolo</title>
		<link>http://blog.james-carr.org/2007/05/02/automate-all-tests/#comment-29597</link>
		<dc:creator>redsolo</dc:creator>
		<pubDate>Tue, 21 Aug 2007 11:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.james-carr.org/?p=73#comment-29597</guid>
		<description>@Mr.X

I developed a unit test framework for PPC (copy of JUnit), and with that framework I tested GSM/CDMA code with unit tests. The code would power on the radio hardware, make data connections, send SMS; and all was automated. I could start the tests on several devices one day, and get the results the next day. So this was not a pie in the sky note.</description>
		<content:encoded><![CDATA[<p>@Mr.X</p>
<p>I developed a unit test framework for PPC (copy of JUnit), and with that framework I tested GSM/CDMA code with unit tests. The code would power on the radio hardware, make data connections, send SMS; and all was automated. I could start the tests on several devices one day, and get the results the next day. So this was not a pie in the sky note.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frederic Torres</title>
		<link>http://blog.james-carr.org/2007/05/02/automate-all-tests/#comment-23571</link>
		<dc:creator>Frederic Torres</dc:creator>
		<pubDate>Thu, 21 Jun 2007 03:13:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.james-carr.org/?p=73#comment-23571</guid>
		<description>What about answering the question "When not to automate ?"


Frederic Torres
www.InCisif.net
Web Testing with C# or VB.NET</description>
		<content:encoded><![CDATA[<p>What about answering the question &#8220;When not to automate ?&#8221;</p>
<p>Frederic Torres<br />
<a href="http://www.InCisif.net" rel="nofollow">http://www.InCisif.net</a><br />
Web Testing with C# or VB.NET</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Miller</title>
		<link>http://blog.james-carr.org/2007/05/02/automate-all-tests/#comment-13680</link>
		<dc:creator>Alex Miller</dc:creator>
		<pubDate>Wed, 02 May 2007 23:48:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.james-carr.org/?p=73#comment-13680</guid>
		<description>My general take on test automation:
1. I have never (NEVER) regretted automating a test.
2. I have often regretted NOT'automating something sooner.

So, clearly I need to continue pushing further down the cost/benefit curve until #1 is no longer true.  For now, based on the data above, if my initial answer is maybe, then I just go for it and assume it will be worthwhile.</description>
		<content:encoded><![CDATA[<p>My general take on test automation:<br />
1. I have never (NEVER) regretted automating a test.<br />
2. I have often regretted NOT&#8217;automating something sooner.</p>
<p>So, clearly I need to continue pushing further down the cost/benefit curve until #1 is no longer true.  For now, based on the data above, if my initial answer is maybe, then I just go for it and assume it will be worthwhile.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Carr</title>
		<link>http://blog.james-carr.org/2007/05/02/automate-all-tests/#comment-13671</link>
		<dc:creator>James Carr</dc:creator>
		<pubDate>Wed, 02 May 2007 19:51:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.james-carr.org/?p=73#comment-13671</guid>
		<description>@Mr.X

As I stated in my last comment, and as Ron points out in the article I linked to, yes, there are some things that you can't write automated tests... but that doesn't mean you shouldn't try. 

By keeping an "Automate All Tests" mindset, imho, helps you break past the "it can't be done" barriers and quite possibly automate most of your tests, freeing time up for more productive tasks than manual testing. 

Thanks,
James</description>
		<content:encoded><![CDATA[<p>@Mr.X</p>
<p>As I stated in my last comment, and as Ron points out in the article I linked to, yes, there are some things that you can&#8217;t write automated tests&#8230; but that doesn&#8217;t mean you shouldn&#8217;t try. </p>
<p>By keeping an &#8220;Automate All Tests&#8221; mindset, imho, helps you break past the &#8220;it can&#8217;t be done&#8221; barriers and quite possibly automate most of your tests, freeing time up for more productive tasks than manual testing. </p>
<p>Thanks,<br />
James</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Carr</title>
		<link>http://blog.james-carr.org/2007/05/02/automate-all-tests/#comment-13670</link>
		<dc:creator>James Carr</dc:creator>
		<pubDate>Wed, 02 May 2007 19:49:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.james-carr.org/?p=73#comment-13670</guid>
		<description>@Ryan

I actually agree... there can be some things that are very difficult to automate the testing. Perhaps My point came across to zealous, which is what I was aiming for. ;)

Sure, we probably can't automate all tests, but I think taking the attitude of "Automate ALL Tests" will drive us to automate those that can. For example, at work we had something that everyone thought wasn't testable, it was impossible they said. A co-worker and I decided to sit down during a personal development session and just tried it. 

We were able to automate the said test, the test that was impossible to automate, the test there was no way it could be done, in 2 sessions.</description>
		<content:encoded><![CDATA[<p>@Ryan</p>
<p>I actually agree&#8230; there can be some things that are very difficult to automate the testing. Perhaps My point came across to zealous, which is what I was aiming for. <img src='http://blog.james-carr.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Sure, we probably can&#8217;t automate all tests, but I think taking the attitude of &#8220;Automate ALL Tests&#8221; will drive us to automate those that can. For example, at work we had something that everyone thought wasn&#8217;t testable, it was impossible they said. A co-worker and I decided to sit down during a personal development session and just tried it. </p>
<p>We were able to automate the said test, the test that was impossible to automate, the test there was no way it could be done, in 2 sessions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: x</title>
		<link>http://blog.james-carr.org/2007/05/02/automate-all-tests/#comment-13660</link>
		<dc:creator>x</dc:creator>
		<pubDate>Wed, 02 May 2007 16:13:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.james-carr.org/?p=73#comment-13660</guid>
		<description>Another "pie in the sky" post... great.  Have you ever tried to automate the testing of a Java ME application?  Or one that is physically connected to a piece of electronics? 

Please, do some research on some real projects, it will offer you a more nuanced vision on the world we live in.  Not everybody is working on opensource headless applications, and you're making the XP community look bad to a lot of people in search of better testing techniques.</description>
		<content:encoded><![CDATA[<p>Another &#8220;pie in the sky&#8221; post&#8230; great.  Have you ever tried to automate the testing of a Java ME application?  Or one that is physically connected to a piece of electronics? </p>
<p>Please, do some research on some real projects, it will offer you a more nuanced vision on the world we live in.  Not everybody is working on opensource headless applications, and you&#8217;re making the XP community look bad to a lot of people in search of better testing techniques.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Cooper</title>
		<link>http://blog.james-carr.org/2007/05/02/automate-all-tests/#comment-13658</link>
		<dc:creator>Ryan Cooper</dc:creator>
		<pubDate>Wed, 02 May 2007 15:57:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.james-carr.org/?p=73#comment-13658</guid>
		<description>Often, it is not possible to test "all scenarios", because there are not a finite number of things to test.  When this is the case, often the best strategy is to focus on and automate the most "likely" scenarios. The best way to find the "likely" scenarios is often by hiring a testing expert (like James Bach, Elizabeth Hendrickson, Michael Bolton, etc.) to do some rapid/exploratory testing.

I agree with your sentiment (that automating tests is a valuable practice much, much more often than people think), but can't agree with the absolute way you state it. Whether you should automate a given test is a function of how likely the test is to expose a bug, how severe the bug is, and the cost of automation. Even if automation is cheap (and if it isn't, you should be working on making it so), some tests are not valuable enough to automate, but are valuable enough to execute quickly in order to get information once (of course, if you find yourself testing something more than once, it should be automated). The goal of testing is generally not absolute perfection, but getting 'enough' quality from the smallest possible investment (where the definition of 'enough' depends on your domain and business context).

I'd recommend subscribing to the blogs of the people I've mentioned above. I find us developers sometimes think of testing in a very limited scope. These bloggers have helped me expand my understanding of testing beyond the developer's scope.

Cheers,
Ryan

P.S. Don't forget about usability testing... can't automate that either. :)</description>
		<content:encoded><![CDATA[<p>Often, it is not possible to test &#8220;all scenarios&#8221;, because there are not a finite number of things to test.  When this is the case, often the best strategy is to focus on and automate the most &#8220;likely&#8221; scenarios. The best way to find the &#8220;likely&#8221; scenarios is often by hiring a testing expert (like James Bach, Elizabeth Hendrickson, Michael Bolton, etc.) to do some rapid/exploratory testing.</p>
<p>I agree with your sentiment (that automating tests is a valuable practice much, much more often than people think), but can&#8217;t agree with the absolute way you state it. Whether you should automate a given test is a function of how likely the test is to expose a bug, how severe the bug is, and the cost of automation. Even if automation is cheap (and if it isn&#8217;t, you should be working on making it so), some tests are not valuable enough to automate, but are valuable enough to execute quickly in order to get information once (of course, if you find yourself testing something more than once, it should be automated). The goal of testing is generally not absolute perfection, but getting &#8216;enough&#8217; quality from the smallest possible investment (where the definition of &#8216;enough&#8217; depends on your domain and business context).</p>
<p>I&#8217;d recommend subscribing to the blogs of the people I&#8217;ve mentioned above. I find us developers sometimes think of testing in a very limited scope. These bloggers have helped me expand my understanding of testing beyond the developer&#8217;s scope.</p>
<p>Cheers,<br />
Ryan</p>
<p>P.S. Don&#8217;t forget about usability testing&#8230; can&#8217;t automate that either. <img src='http://blog.james-carr.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
</channel>
</rss>
