<?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: TDD Anti-Patterns</title>
	<atom:link href="http://blog.james-carr.org/2006/11/03/tdd-anti-patterns/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.james-carr.org/2006/11/03/tdd-anti-patterns/</link>
	<description>Rants and Musings of an Agile Developer</description>
	<pubDate>Sat, 22 Nov 2008 05:52:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: Links - Kartones Blog</title>
		<link>http://blog.james-carr.org/2006/11/03/tdd-anti-patterns/#comment-93819</link>
		<dc:creator>Links - Kartones Blog</dc:creator>
		<pubDate>Sun, 02 Nov 2008 23:00:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.james-carr.org/?p=44#comment-93819</guid>
		<description>[...] LibraryScott Hanselman Dev&#38;TestTDD Anti-PatternsEl Ave [...]</description>
		<content:encoded><![CDATA[<p>[...] LibraryScott Hanselman Dev&#38;TestTDD Anti-PatternsEl Ave [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: :jasonrudolph =&#62; :blog &#187; Blog Archive &#187; Testing Anti-Patterns Potpourri - Quotes, Resources, and Collective Wisdom</title>
		<link>http://blog.james-carr.org/2006/11/03/tdd-anti-patterns/#comment-91447</link>
		<dc:creator>:jasonrudolph =&#62; :blog &#187; Blog Archive &#187; Testing Anti-Patterns Potpourri - Quotes, Resources, and Collective Wisdom</dc:creator>
		<pubDate>Tue, 07 Oct 2008 10:30:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.james-carr.org/?p=44#comment-91447</guid>
		<description>[...] start off with something light. James Carr&#8217;s TDD Anti-Pattern Catalogue is a good, fun read that&#8217;s downright hilarious at times (but only because we remember writing [...]</description>
		<content:encoded><![CDATA[<p>[...] start off with something light. James Carr&#8217;s TDD Anti-Pattern Catalogue is a good, fun read that&#8217;s downright hilarious at times (but only because we remember writing [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Graham Lenton</title>
		<link>http://blog.james-carr.org/2006/11/03/tdd-anti-patterns/#comment-77729</link>
		<dc:creator>Graham Lenton</dc:creator>
		<pubDate>Fri, 11 Jul 2008 09:56:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.james-carr.org/?p=44#comment-77729</guid>
		<description>How about the 'Honest, Guv' where the expected outcome is so entropic that the developer simply asserts true with a comment 'this works, honestly..'</description>
		<content:encoded><![CDATA[<p>How about the &#8216;Honest, Guv&#8217; where the expected outcome is so entropic that the developer simply asserts true with a comment &#8216;this works, honestly..&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Cowan</title>
		<link>http://blog.james-carr.org/2006/11/03/tdd-anti-patterns/#comment-77667</link>
		<dc:creator>John Cowan</dc:creator>
		<pubDate>Thu, 10 Jul 2008 17:53:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.james-carr.org/?p=44#comment-77667</guid>
		<description>Sometimes the Giant has its uses.

A little while ago, I wrote a test for a method that has to take a number of factors into account and return one of two results.  For example, if the content is precious, always return A, but if not, then if the version is 3, always return B unless the user has requested A, etc. etc.

The giant test I wrote does the full combinatorial explosion of assertEquals tests:  version 1, 2, or 3; user requested A or B; content is precious or not; etc.  There end up being 72 calls.

Now I could refactor that to 72 tests, but I don't think that would help anyone much.  And doing "just enough" testing would have turned out to be not enough: just one of the 72 tests actually failed after I wrote the code, but it exposed a deep logic error.  (Now I've had to change the code to satisfy new requirements, and half the tests are failing!  Arrgh.  But I'll get it fixed eventually.)</description>
		<content:encoded><![CDATA[<p>Sometimes the Giant has its uses.</p>
<p>A little while ago, I wrote a test for a method that has to take a number of factors into account and return one of two results.  For example, if the content is precious, always return A, but if not, then if the version is 3, always return B unless the user has requested A, etc. etc.</p>
<p>The giant test I wrote does the full combinatorial explosion of assertEquals tests:  version 1, 2, or 3; user requested A or B; content is precious or not; etc.  There end up being 72 calls.</p>
<p>Now I could refactor that to 72 tests, but I don&#8217;t think that would help anyone much.  And doing &#8220;just enough&#8221; testing would have turned out to be not enough: just one of the 72 tests actually failed after I wrote the code, but it exposed a deep logic error.  (Now I&#8217;ve had to change the code to satisfy new requirements, and half the tests are failing!  Arrgh.  But I&#8217;ll get it fixed eventually.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wonen in Duitsland</title>
		<link>http://blog.james-carr.org/2006/11/03/tdd-anti-patterns/#comment-77626</link>
		<dc:creator>Wonen in Duitsland</dc:creator>
		<pubDate>Thu, 10 Jul 2008 11:33:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.james-carr.org/?p=44#comment-77626</guid>
		<description>Are these really “patterns”? I would argue they are closer to “code smells” as defined by Martin Fowler in “Refactoring”.

Yes, Indeed that was the samething i was thinking about.
But i can be wrong also.</description>
		<content:encoded><![CDATA[<p>Are these really “patterns”? I would argue they are closer to “code smells” as defined by Martin Fowler in “Refactoring”.</p>
<p>Yes, Indeed that was the samething i was thinking about.<br />
But i can be wrong also.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2008-07-09</title>
		<link>http://blog.james-carr.org/2006/11/03/tdd-anti-patterns/#comment-77462</link>
		<dc:creator>links for 2008-07-09</dc:creator>
		<pubDate>Wed, 09 Jul 2008 05:38:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.james-carr.org/?p=44#comment-77462</guid>
		<description>[...] TDD Anti-Patterns Various antipatterns of the testing and test-driven world. Pretty sure I&#8217;ve encountered my fair share of them along the way&#8211;how about you? (tags: tdd testing antipatterns programming patterns development agile) [...]</description>
		<content:encoded><![CDATA[<p>[...] TDD Anti-Patterns Various antipatterns of the testing and test-driven world. Pretty sure I&#8217;ve encountered my fair share of them along the way&#8211;how about you? (tags: tdd testing antipatterns programming patterns development agile) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian Mouat</title>
		<link>http://blog.james-carr.org/2006/11/03/tdd-anti-patterns/#comment-77335</link>
		<dc:creator>Adrian Mouat</dc:creator>
		<pubDate>Tue, 08 Jul 2008 11:09:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.james-carr.org/?p=44#comment-77335</guid>
		<description>Are these really "patterns"? I would argue they are closer to "code smells" as defined by Martin Fowler in "Refactoring".</description>
		<content:encoded><![CDATA[<p>Are these really &#8220;patterns&#8221;? I would argue they are closer to &#8220;code smells&#8221; as defined by Martin Fowler in &#8220;Refactoring&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TDD Anti-Patterns - not just another working title</title>
		<link>http://blog.james-carr.org/2006/11/03/tdd-anti-patterns/#comment-77173</link>
		<dc:creator>TDD Anti-Patterns - not just another working title</dc:creator>
		<pubDate>Mon, 07 Jul 2008 14:04:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.james-carr.org/?p=44#comment-77173</guid>
		<description>[...] Share this post: email it! &#124; bookmark it! &#124; digg it! &#124; reddit! &#124; kick it! &#124; live it!  Posted: Jul 07 2008, 03:04 PM by mikegeyser &#124; with nocomments [...]</description>
		<content:encoded><![CDATA[<p>[...] Share this post: email it! | bookmark it! | digg it! | reddit! | kick it! | live it!  Posted: Jul 07 2008, 03:04 PM by mikegeyser | with nocomments [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Boston Bay Digital &#187; TDD Anti Patterns</title>
		<link>http://blog.james-carr.org/2006/11/03/tdd-anti-patterns/#comment-76496</link>
		<dc:creator>Boston Bay Digital &#187; TDD Anti Patterns</dc:creator>
		<pubDate>Thu, 03 Jul 2008 12:02:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.james-carr.org/?p=44#comment-76496</guid>
		<description>[...] Anyone who has written a remotely complex web application applying TDD philosophies will find the following interesting: http://blog.james-carr.org/?p=44 [...]</description>
		<content:encoded><![CDATA[<p>[...] Anyone who has written a remotely complex web application applying TDD philosophies will find the following interesting: <a href="http://blog.james-carr.org/?p=44" rel="nofollow">http://blog.james-carr.org/?p=44</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TDD Anti Patterns &#124; Developer Home</title>
		<link>http://blog.james-carr.org/2006/11/03/tdd-anti-patterns/#comment-69036</link>
		<dc:creator>TDD Anti Patterns &#124; Developer Home</dc:creator>
		<pubDate>Thu, 22 May 2008 22:30:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.james-carr.org/?p=44#comment-69036</guid>
		<description>[...] James Carr lists a nice bunch of TDD anti patterns. via Jeremy . [...]</description>
		<content:encoded><![CDATA[<p>[...] James Carr lists a nice bunch of TDD anti patterns. via Jeremy . [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
