<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Harold&#8217;s Corollary to Knuth&#8217;s Law</title>
	<atom:link href="http://cafe.elharo.com/testing/harolds-corollary-to-knuths-law/feed/" rel="self" type="application/rss+xml" />
	<link>http://cafe.elharo.com/testing/harolds-corollary-to-knuths-law/</link>
	<description>Longer than a blog; shorter than a book</description>
	<lastBuildDate>Wed, 08 Feb 2012 21:45:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: A Smattering of Selenium #62 &#171; Official Selenium Blog</title>
		<link>http://cafe.elharo.com/testing/harolds-corollary-to-knuths-law/comment-page-1/#comment-821520</link>
		<dc:creator>A Smattering of Selenium #62 &#171; Official Selenium Blog</dc:creator>
		<pubDate>Thu, 29 Sep 2011 14:06:11 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/?p=246#comment-821520</guid>
		<description>[...] from the vaults is Harold’s Corollary to Knuth’s Law which is aimed at Unit not Functional tests, but still is food for [...]</description>
		<content:encoded><![CDATA[<p>[...] from the vaults is Harold’s Corollary to Knuth’s Law which is aimed at Unit not Functional tests, but still is food for [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken</title>
		<link>http://cafe.elharo.com/testing/harolds-corollary-to-knuths-law/comment-page-1/#comment-784040</link>
		<dc:creator>Ken</dc:creator>
		<pubDate>Thu, 01 Sep 2011 18:13:58 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/?p=246#comment-784040</guid>
		<description>Whoops, my bad. I was thinking of &quot;black box&quot; testing</description>
		<content:encoded><![CDATA[<p>Whoops, my bad. I was thinking of &#8220;black box&#8221; testing</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken</title>
		<link>http://cafe.elharo.com/testing/harolds-corollary-to-knuths-law/comment-page-1/#comment-784036</link>
		<dc:creator>Ken</dc:creator>
		<pubDate>Thu, 01 Sep 2011 18:07:55 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/?p=246#comment-784036</guid>
		<description>How about &quot;unit&quot; tests that execute their own SQL queries that bear no relationship to any existing application and distorts the whole intent of the DB?
I have to admit that calling tests that execute the actual code being used as &quot;unit&quot; is foreign to me. Those seem like &quot;white box&quot; to me.</description>
		<content:encoded><![CDATA[<p>How about &#8220;unit&#8221; tests that execute their own SQL queries that bear no relationship to any existing application and distorts the whole intent of the DB?<br />
I have to admit that calling tests that execute the actual code being used as &#8220;unit&#8221; is foreign to me. Those seem like &#8220;white box&#8221; to me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yves Daoust</title>
		<link>http://cafe.elharo.com/testing/harolds-corollary-to-knuths-law/comment-page-1/#comment-783937</link>
		<dc:creator>Yves Daoust</dc:creator>
		<pubDate>Thu, 01 Sep 2011 15:30:45 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/?p=246#comment-783937</guid>
		<description>Mh, I don&#039;t love the second part that says &quot;Code coverage should be as near 100% as possible.&quot; Given the number of inputs and complexity of real-life programs, I have the impression that coverage often looks like 0.0000000001%. I&#039;d prefer something like &quot;Code coverage should be near 100% of what is economically sensible.&quot;

My favorite advice regarding coverage is: &quot;test first what the user will do first&quot;. It takes some hindsight to figure out what others will be doing with your code, but these are the places where bugs will mostly harm.

I agree with the other two parts.</description>
		<content:encoded><![CDATA[<p>Mh, I don&#8217;t love the second part that says &#8220;Code coverage should be as near 100% as possible.&#8221; Given the number of inputs and complexity of real-life programs, I have the impression that coverage often looks like 0.0000000001%. I&#8217;d prefer something like &#8220;Code coverage should be near 100% of what is economically sensible.&#8221;</p>
<p>My favorite advice regarding coverage is: &#8220;test first what the user will do first&#8221;. It takes some hindsight to figure out what others will be doing with your code, but these are the places where bugs will mostly harm.</p>
<p>I agree with the other two parts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BrianW</title>
		<link>http://cafe.elharo.com/testing/harolds-corollary-to-knuths-law/comment-page-1/#comment-783855</link>
		<dc:creator>BrianW</dc:creator>
		<pubDate>Thu, 01 Sep 2011 13:09:54 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/?p=246#comment-783855</guid>
		<description>&gt; Mocks are an abomination, requiring far too much effort to build

I agree with &quot;Name Required&quot;: you&#039;re doing them wrong. You&#039;re probably either attempting to mock something that is too complex - which should be a smell to you - or you&#039;re using the wrong mocking library.</description>
		<content:encoded><![CDATA[<p>&gt; Mocks are an abomination, requiring far too much effort to build</p>
<p>I agree with &#8220;Name Required&#8221;: you&#8217;re doing them wrong. You&#8217;re probably either attempting to mock something that is too complex &#8211; which should be a smell to you &#8211; or you&#8217;re using the wrong mocking library.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WanderMelee</title>
		<link>http://cafe.elharo.com/testing/harolds-corollary-to-knuths-law/comment-page-1/#comment-783497</link>
		<dc:creator>WanderMelee</dc:creator>
		<pubDate>Thu, 01 Sep 2011 05:22:29 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/?p=246#comment-783497</guid>
		<description>Carguous Noll (local to the Breenda area) gave an experience report about the influence of “end-to-end integrated tests” and “unit tests” on the software being developed.

Unit tests (actually, “microtests” like those produced in TDD) did NOT help improve the design of the code, did NOT help find where the bugs are (they might reveal a previously-undiscovered bug, but don’t tell you where it is), etc.

End-to-end integrated tests influenced the design of the code to be more de-coupled, helped localize bugs, etc. And were run more often, catching problems faster.

(Apologies to Carguous if I mis-remembered or mis-represented his presentation several years ago.)

So there.</description>
		<content:encoded><![CDATA[<p>Carguous Noll (local to the Breenda area) gave an experience report about the influence of “end-to-end integrated tests” and “unit tests” on the software being developed.</p>
<p>Unit tests (actually, “microtests” like those produced in TDD) did NOT help improve the design of the code, did NOT help find where the bugs are (they might reveal a previously-undiscovered bug, but don’t tell you where it is), etc.</p>
<p>End-to-end integrated tests influenced the design of the code to be more de-coupled, helped localize bugs, etc. And were run more often, catching problems faster.</p>
<p>(Apologies to Carguous if I mis-remembered or mis-represented his presentation several years ago.)</p>
<p>So there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: No to premature optimization &#124; Software Development with Linux</title>
		<link>http://cafe.elharo.com/testing/harolds-corollary-to-knuths-law/comment-page-1/#comment-783099</link>
		<dc:creator>No to premature optimization &#124; Software Development with Linux</dc:creator>
		<pubDate>Wed, 31 Aug 2011 18:14:40 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/?p=246#comment-783099</guid>
		<description>[...] to Kent Beck for sharing  Harold&#8217;s Corollary To Knuth&#8217;s Law.  Donald Knuth wrote, in Structured Programming with go to Statements : &#8220;Premature [...]</description>
		<content:encoded><![CDATA[<p>[...] to Kent Beck for sharing  Harold&#8217;s Corollary To Knuth&#8217;s Law.  Donald Knuth wrote, in Structured Programming with go to Statements : &#8220;Premature [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith Ray</title>
		<link>http://cafe.elharo.com/testing/harolds-corollary-to-knuths-law/comment-page-1/#comment-783038</link>
		<dc:creator>Keith Ray</dc:creator>
		<pubDate>Wed, 31 Aug 2011 16:37:29 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/?p=246#comment-783038</guid>
		<description>Dave Smith (local to the SF Bay area) gave an experience report about the influence of &quot;end-to-end integrated tests&quot; and &quot;unit tests&quot; on the software being developed.

End-to-end integrated tests did NOT help improve the design of the code, did NOT help find where the bugs are (they might reveal a previously-undiscovered bug, but don&#039;t tell you where it is), etc. 

Unit tests (actually, &quot;microtests&quot; like those produced in TDD) influenced the design of the code to be more de-coupled, helped localize bugs, etc. And were run more often, catching problems faster.

(Apologies to Dave if I mis-remembered or mis-represented his presentation several years ago.)</description>
		<content:encoded><![CDATA[<p>Dave Smith (local to the SF Bay area) gave an experience report about the influence of &#8220;end-to-end integrated tests&#8221; and &#8220;unit tests&#8221; on the software being developed.</p>
<p>End-to-end integrated tests did NOT help improve the design of the code, did NOT help find where the bugs are (they might reveal a previously-undiscovered bug, but don&#8217;t tell you where it is), etc. </p>
<p>Unit tests (actually, &#8220;microtests&#8221; like those produced in TDD) influenced the design of the code to be more de-coupled, helped localize bugs, etc. And were run more often, catching problems faster.</p>
<p>(Apologies to Dave if I mis-remembered or mis-represented his presentation several years ago.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: J. B. Rainsberger</title>
		<link>http://cafe.elharo.com/testing/harolds-corollary-to-knuths-law/comment-page-1/#comment-390517</link>
		<dc:creator>J. B. Rainsberger</dc:creator>
		<pubDate>Mon, 27 Apr 2009 14:13:26 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/?p=246#comment-390517</guid>
		<description>As a counterpoint to your article, Elliotte, Integration Tests are a Scam: http://www.jbrains.ca/category/integration-tests-are-a-scam or http://tinyurl.com/dz2ftu</description>
		<content:encoded><![CDATA[<p>As a counterpoint to your article, Elliotte, Integration Tests are a Scam: <a href="http://www.jbrains.ca/category/integration-tests-are-a-scam" rel="nofollow">http://www.jbrains.ca/category/integration-tests-are-a-scam</a> or <a href="http://tinyurl.com/dz2ftu" rel="nofollow">http://tinyurl.com/dz2ftu</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Name required</title>
		<link>http://cafe.elharo.com/testing/harolds-corollary-to-knuths-law/comment-page-1/#comment-327633</link>
		<dc:creator>Name required</dc:creator>
		<pubDate>Mon, 22 Dec 2008 15:47:24 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/?p=246#comment-327633</guid>
		<description>&gt;  Mocks are an abomination, requiring far too much effort to build

You&#039;re doing them wrong.</description>
		<content:encoded><![CDATA[<p>&gt;  Mocks are an abomination, requiring far too much effort to build</p>
<p>You&#8217;re doing them wrong.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

