<?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: Why doesn&#8217;t Flickr do automated tests?</title>
	<atom:link href="http://www.lixo.org/archives/2005/10/18/why-doesnt-flickr-do-automated-tests/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lixo.org/archives/2005/10/18/why-doesnt-flickr-do-automated-tests/</link>
	<description>letting the problem solve itself</description>
	<pubDate>Mon, 08 Sep 2008 10:57:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Shining Ray &#187; 为什么Flickr不进行自动化测试？</title>
		<link>http://www.lixo.org/archives/2005/10/18/why-doesnt-flickr-do-automated-tests/#comment-38424</link>
		<dc:creator>Shining Ray &#187; 为什么Flickr不进行自动化测试？</dc:creator>
		<pubDate>Wed, 02 Apr 2008 15:06:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.lixo.org/archives/2005/10/18/why-doesnt-flickr-do-automated-tests/#comment-38424</guid>
		<description>[...] 原文：为什么Flickr不进行自动化测试？ — Carlos Villela @ 8:00 pm [...]</description>
		<content:encoded><![CDATA[<p>[...] 原文：为什么Flickr不进行自动化测试？ — Carlos Villela @ 8:00 pm [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Mahemoff</title>
		<link>http://www.lixo.org/archives/2005/10/18/why-doesnt-flickr-do-automated-tests/#comment-118</link>
		<dc:creator>Michael Mahemoff</dc:creator>
		<pubDate>Sat, 29 Oct 2005 10:49:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.lixo.org/archives/2005/10/18/why-doesnt-flickr-do-automated-tests/#comment-118</guid>
		<description>Ward Cunningham and others have likened lack of automated tests to debt. Stated in those terms, and going with the assumption that testing is indeed a short-term loss, Flickr's practice makes sense. Startups are inclined to take a lot of debt.

Another perspective: &lt;b&gt;What value does a multinational megacorp place on tests? &lt;/b&gt; (In the typical case, probably not Yahoo.) Seasoned MBAs debating whether DAOMock is *really* a mock or just a stub?!!  Due diligence is hard enough for grown-up matters like customers and revenues and viral long-tail stickiness. You and I know that a high-quality test suite is indeed a valuable asset, but in reality, the only software that counts in an acquisition is that which lives in end-user-land.</description>
		<content:encoded><![CDATA[<p>Ward Cunningham and others have likened lack of automated tests to debt. Stated in those terms, and going with the assumption that testing is indeed a short-term loss, Flickr&#8217;s practice makes sense. Startups are inclined to take a lot of debt.</p>
<p>Another perspective: <b>What value does a multinational megacorp place on tests? </b> (In the typical case, probably not Yahoo.) Seasoned MBAs debating whether DAOMock is *really* a mock or just a stub?!!  Due diligence is hard enough for grown-up matters like customers and revenues and viral long-tail stickiness. You and I know that a high-quality test suite is indeed a valuable asset, but in reality, the only software that counts in an acquisition is that which lives in end-user-land.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carlos Villela</title>
		<link>http://www.lixo.org/archives/2005/10/18/why-doesnt-flickr-do-automated-tests/#comment-115</link>
		<dc:creator>Carlos Villela</dc:creator>
		<pubDate>Wed, 19 Oct 2005 13:16:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.lixo.org/archives/2005/10/18/why-doesnt-flickr-do-automated-tests/#comment-115</guid>
		<description>I don't quite see a clear unit tests -&#62; less time developing link like that: there's certainly a lot of anecdotal evidence showing that automated tests reduce the amount of manual testing necessary, but writing unit tests is still writing code, and during the first few stages of a project - say, during the startup phase of a company - I see the chances of spending more or less time developing when unit tests are used as 50/50. 

These chances (again, my experience) go all the way to something like 90/10 in favour of tests reducing time spent developing after the first round of iterations, but then, if we're talking economics, it's just a higher risk - not a certainty - that you'll get screwed by lacking tests. If you bet on not writing tests and still manage to write good quality code and sustain productivity, all else being equal, you spend less for the same business value (although you get less technical value, because, as you point out, a nice automatically tested codebase is easier to refactor in the large scale).</description>
		<content:encoded><![CDATA[<p>I don&#8217;t quite see a clear unit tests -&gt; less time developing link like that: there&#8217;s certainly a lot of anecdotal evidence showing that automated tests reduce the amount of manual testing necessary, but writing unit tests is still writing code, and during the first few stages of a project - say, during the startup phase of a company - I see the chances of spending more or less time developing when unit tests are used as 50/50. </p>
<p>These chances (again, my experience) go all the way to something like 90/10 in favour of tests reducing time spent developing after the first round of iterations, but then, if we&#8217;re talking economics, it&#8217;s just a higher risk - not a certainty - that you&#8217;ll get screwed by lacking tests. If you bet on not writing tests and still manage to write good quality code and sustain productivity, all else being equal, you spend less for the same business value (although you get less technical value, because, as you point out, a nice automatically tested codebase is easier to refactor in the large scale).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lee</title>
		<link>http://www.lixo.org/archives/2005/10/18/why-doesnt-flickr-do-automated-tests/#comment-114</link>
		<dc:creator>Lee</dc:creator>
		<pubDate>Wed, 19 Oct 2005 11:05:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.lixo.org/archives/2005/10/18/why-doesnt-flickr-do-automated-tests/#comment-114</guid>
		<description>I think you've missed something pretty fundamental here.

When you create unit tests (for automated testing), you spend LESS time developing. The unit test quite often contains the bulk of the code that will be your implementation code anyway, and also serves as self documentation as to the code usage, and so makes you more productive.

Unit testing also promotes large scale refactoring. With manual only testing if you find a bug and fix it, you need to begin your testing process over - how do you know that your bu fix has not broken something else? with automated unit tests, you know this immediately.

Not using unit tests MAY be cheaper if you simply don't care about testing - you can just let the users do it, and I don't know - leave a "beta" logo on the page until you feel that they can't find any bugs ;)

However, in the long run, not using unit and automated testing creates developers who are scared of their own code, and unwilling to refactor because they are scared of breaking something. This introduces more and more code smells until you end up with something that makes grown men weep.</description>
		<content:encoded><![CDATA[<p>I think you&#8217;ve missed something pretty fundamental here.</p>
<p>When you create unit tests (for automated testing), you spend LESS time developing. The unit test quite often contains the bulk of the code that will be your implementation code anyway, and also serves as self documentation as to the code usage, and so makes you more productive.</p>
<p>Unit testing also promotes large scale refactoring. With manual only testing if you find a bug and fix it, you need to begin your testing process over - how do you know that your bu fix has not broken something else? with automated unit tests, you know this immediately.</p>
<p>Not using unit tests MAY be cheaper if you simply don&#8217;t care about testing - you can just let the users do it, and I don&#8217;t know - leave a &#8220;beta&#8221; logo on the page until you feel that they can&#8217;t find any bugs <img src='http://www.lixo.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>However, in the long run, not using unit and automated testing creates developers who are scared of their own code, and unwilling to refactor because they are scared of breaking something. This introduces more and more code smells until you end up with something that makes grown men weep.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cairo</title>
		<link>http://www.lixo.org/archives/2005/10/18/why-doesnt-flickr-do-automated-tests/#comment-113</link>
		<dc:creator>cairo</dc:creator>
		<pubDate>Wed, 19 Oct 2005 02:14:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.lixo.org/archives/2005/10/18/why-doesnt-flickr-do-automated-tests/#comment-113</guid>
		<description>My development style doesn't include automated/unit test either. We just deploy and let the user test!</description>
		<content:encoded><![CDATA[<p>My development style doesn&#8217;t include automated/unit test either. We just deploy and let the user test!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carlos Villela</title>
		<link>http://www.lixo.org/archives/2005/10/18/why-doesnt-flickr-do-automated-tests/#comment-112</link>
		<dc:creator>Carlos Villela</dc:creator>
		<pubDate>Tue, 18 Oct 2005 23:01:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.lixo.org/archives/2005/10/18/why-doesnt-flickr-do-automated-tests/#comment-112</guid>
		<description>Great point, Andy! I completely agree with it. A huge number of beta test^H^H^H^Husers might also mitigate the amount of testing you need to do (see Netscape 2.x through 4.x), which I believe is somewhat the case with Flickr, and is a luxury most software development projects don't have. In most internal or embedded projects, a strong set of automated tests might be your only really dedicated beta tester. So there's another reason why Flickr got away with it, while most of us couldn't really afford the risk.</description>
		<content:encoded><![CDATA[<p>Great point, Andy! I completely agree with it. A huge number of beta test^H^H^H^Husers might also mitigate the amount of testing you need to do (see Netscape 2.x through 4.x), which I believe is somewhat the case with Flickr, and is a luxury most software development projects don&#8217;t have. In most internal or embedded projects, a strong set of automated tests might be your only really dedicated beta tester. So there&#8217;s another reason why Flickr got away with it, while most of us couldn&#8217;t really afford the risk.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Marks</title>
		<link>http://www.lixo.org/archives/2005/10/18/why-doesnt-flickr-do-automated-tests/#comment-111</link>
		<dc:creator>Andy Marks</dc:creator>
		<pubDate>Tue, 18 Oct 2005 22:38:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.lixo.org/archives/2005/10/18/why-doesnt-flickr-do-automated-tests/#comment-111</guid>
		<description>Carlos,

I think you've missed a row in your table above.  I'd see things more like:

Scenario  	A  	B
Development 	10 	10
Manual Testing  2       8
Automated tests 8 	0
Maintenance 	2 	10

In short, just because the Flickr guys don't do automated testing doesn't mean they do no testing at all (I hope).  Whether you're automating it or no, you literally cannot help perform some testing on code under development.  Maybe this testing is just a case of "I'll fire up the app and make sure I can run the stuff I just added" ... that's still testing. 

Where automated testing does introduce savings (after the initial cost) is the rapid re-running of these tests whenever needed to identify regression issues.</description>
		<content:encoded><![CDATA[<p>Carlos,</p>
<p>I think you&#8217;ve missed a row in your table above.  I&#8217;d see things more like:</p>
<p>Scenario  	A  	B<br />
Development 	10 	10<br />
Manual Testing  2       8<br />
Automated tests 8 	0<br />
Maintenance 	2 	10</p>
<p>In short, just because the Flickr guys don&#8217;t do automated testing doesn&#8217;t mean they do no testing at all (I hope).  Whether you&#8217;re automating it or no, you literally cannot help perform some testing on code under development.  Maybe this testing is just a case of &#8220;I&#8217;ll fire up the app and make sure I can run the stuff I just added&#8221; &#8230; that&#8217;s still testing. </p>
<p>Where automated testing does introduce savings (after the initial cost) is the rapid re-running of these tests whenever needed to identify regression issues.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: magpiebrain</title>
		<link>http://www.lixo.org/archives/2005/10/18/why-doesnt-flickr-do-automated-tests/#comment-110</link>
		<dc:creator>magpiebrain</dc:creator>
		<pubDate>Tue, 18 Oct 2005 21:12:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.lixo.org/archives/2005/10/18/why-doesnt-flickr-do-automated-tests/#comment-110</guid>
		<description>&lt;strong&gt;Do PHP programmers care about testing?&lt;/strong&gt;

Where I think Carlos made a great point, but still wonder if PHP programmers care about testing</description>
		<content:encoded><![CDATA[<p><strong>Do PHP programmers care about testing?</strong></p>
<p>Where I think Carlos made a great point, but still wonder if PHP programmers care about testing</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phillip Calado "Shoes"</title>
		<link>http://www.lixo.org/archives/2005/10/18/why-doesnt-flickr-do-automated-tests/#comment-109</link>
		<dc:creator>Phillip Calado "Shoes"</dc:creator>
		<pubDate>Tue, 18 Oct 2005 20:34:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.lixo.org/archives/2005/10/18/why-doesnt-flickr-do-automated-tests/#comment-109</guid>
		<description>I've seen this situation happening more than once. Generally what I can say is that when we have savvy guys low on resources, this can lead to flickr, but generally what we have are dumb guys that don't believe in unit tests or automated testing at all just because either they didn't hear about it from someone famous to them (like IBM/Bea/Sun/MSFT evangelists), but from some weird guy that wrote "that book that no one actually read" or they're simply too lazy for this (ok, ok, there is the possibility of project managers just forbidding all that testing stuff at all).

In flickr-style companies (smart people, low resources, not that far from old days dotcoms except for they want to profit, not to IPO) I generally see this QA stuff being created after the company achieves some profit to hire more people. Somtimes it works, but in most occasions it just fails I think.

So what about the cost of injecting a QA process based on automated testing in company B after, say, the first version?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve seen this situation happening more than once. Generally what I can say is that when we have savvy guys low on resources, this can lead to flickr, but generally what we have are dumb guys that don&#8217;t believe in unit tests or automated testing at all just because either they didn&#8217;t hear about it from someone famous to them (like IBM/Bea/Sun/MSFT evangelists), but from some weird guy that wrote &#8220;that book that no one actually read&#8221; or they&#8217;re simply too lazy for this (ok, ok, there is the possibility of project managers just forbidding all that testing stuff at all).</p>
<p>In flickr-style companies (smart people, low resources, not that far from old days dotcoms except for they want to profit, not to IPO) I generally see this QA stuff being created after the company achieves some profit to hire more people. Somtimes it works, but in most occasions it just fails I think.</p>
<p>So what about the cost of injecting a QA process based on automated testing in company B after, say, the first version?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 1.114 seconds -->
