<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: 10 rules of (unit) testing</title>
	<atom:link href="http://monkeyisland.pl/2008/01/31/10rules/feed/" rel="self" type="application/rss+xml" />
	<link>http://monkeyisland.pl/2008/01/31/10rules/</link>
	<description>about software</description>
	<lastBuildDate>Fri, 11 May 2012 11:03:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: #Fellows &#124; Rules of Unit Testing</title>
		<link>http://monkeyisland.pl/2008/01/31/10rules/#comment-3525</link>
		<dc:creator><![CDATA[#Fellows &#124; Rules of Unit Testing]]></dc:creator>
		<pubDate>Wed, 23 Jun 2010 22:26:51 +0000</pubDate>
		<guid isPermaLink="false">http://szczepiq.wordpress.com/?p=55#comment-3525</guid>
		<description><![CDATA[[...] any form of TDD it’s worthwhile to consider some basic rules. With notable exceptions of posts by Szczepan Faber and Michael Feathers, Google renders rather poor results on the subject so I decided to give it [...]]]></description>
		<content:encoded><![CDATA[<p>[...] any form of TDD it’s worthwhile to consider some basic rules. With notable exceptions of posts by Szczepan Faber and Michael Feathers, Google renders rather poor results on the subject so I decided to give it [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: What make a good unit test? at Mark Needham</title>
		<link>http://monkeyisland.pl/2008/01/31/10rules/#comment-3039</link>
		<dc:creator><![CDATA[What make a good unit test? at Mark Needham]]></dc:creator>
		<pubDate>Wed, 03 Dec 2008 14:36:59 +0000</pubDate>
		<guid isPermaLink="false">http://szczepiq.wordpress.com/?p=55#comment-3039</guid>
		<description><![CDATA[[...] used to try and follow the idea of having only one assertion per test but Sczcepan&#039;s idea of testing one behaviour per class is much [...]]]></description>
		<content:encoded><![CDATA[<p>[...] used to try and follow the idea of having only one assertion per test but Sczcepan&#8217;s idea of testing one behaviour per class is much [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: szczepiq</title>
		<link>http://monkeyisland.pl/2008/01/31/10rules/#comment-2907</link>
		<dc:creator><![CDATA[szczepiq]]></dc:creator>
		<pubDate>Fri, 09 May 2008 07:49:10 +0000</pubDate>
		<guid isPermaLink="false">http://szczepiq.wordpress.com/?p=55#comment-2907</guid>
		<description><![CDATA[What I observed is that in language like java usually the easiest way to reuse code is inheritance. That leads to ugly software that is difficult to test and read. Composition over inheritance is simple and useful rule. It&#039;s way easier to explain and adopt than elaborating on OOD&amp;A (which as you say just few programmers actually know).]]></description>
		<content:encoded><![CDATA[<p>What I observed is that in language like java usually the easiest way to reuse code is inheritance. That leads to ugly software that is difficult to test and read. Composition over inheritance is simple and useful rule. It&#8217;s way easier to explain and adopt than elaborating on OOD&amp;A (which as you say just few programmers actually know).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://monkeyisland.pl/2008/01/31/10rules/#comment-2906</link>
		<dc:creator><![CDATA[Sam]]></dc:creator>
		<pubDate>Thu, 08 May 2008 21:35:48 +0000</pubDate>
		<guid isPermaLink="false">http://szczepiq.wordpress.com/?p=55#comment-2906</guid>
		<description><![CDATA[Rule #6 is retarded.  It basically says, &quot;Don&#039;t worry about OO...it&#039;s not that important&quot;.  Learn about &quot;is a&quot; and &quot;has a&quot; relationships.  Composition over hierarchy is old Microsoft bullshit that they promoted because VB wasn&#039;t OO.  

It&#039;s amazing how few programmers actually know anything about OOA&amp;D.]]></description>
		<content:encoded><![CDATA[<p>Rule #6 is retarded.  It basically says, &#8220;Don&#8217;t worry about OO&#8230;it&#8217;s not that important&#8221;.  Learn about &#8220;is a&#8221; and &#8220;has a&#8221; relationships.  Composition over hierarchy is old Microsoft bullshit that they promoted because VB wasn&#8217;t OO.  </p>
<p>It&#8217;s amazing how few programmers actually know anything about OOA&amp;D.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Les 10 commandements des tests unitaires par J2EE, Agilité et SOA&#160;:&#160;Le blog de Xebia France</title>
		<link>http://monkeyisland.pl/2008/01/31/10rules/#comment-2866</link>
		<dc:creator><![CDATA[Les 10 commandements des tests unitaires par J2EE, Agilité et SOA&#160;:&#160;Le blog de Xebia France]]></dc:creator>
		<pubDate>Fri, 11 Apr 2008 07:14:22 +0000</pubDate>
		<guid isPermaLink="false">http://szczepiq.wordpress.com/?p=55#comment-2866</guid>
		<description><![CDATA[[...] 10 rules of (unit) testing de Szczepan Faber, auteur du nouveau framework de Mocks qui monte, Mockito [...]]]></description>
		<content:encoded><![CDATA[<p>[...] 10 rules of (unit) testing de Szczepan Faber, auteur du nouveau framework de Mocks qui monte, Mockito [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Less is Better &#171; Dynamic and Concise</title>
		<link>http://monkeyisland.pl/2008/01/31/10rules/#comment-2781</link>
		<dc:creator><![CDATA[Less is Better &#171; Dynamic and Concise]]></dc:creator>
		<pubDate>Mon, 25 Feb 2008 20:44:01 +0000</pubDate>
		<guid isPermaLink="false">http://szczepiq.wordpress.com/?p=55#comment-2781</guid>
		<description><![CDATA[[...] is&#160;Better  A great blog post by Szczepan Faber talked about 10 rules of unit testing. In this post, I want to discuss on the [...]]]></description>
		<content:encoded><![CDATA[<p>[...] is&nbsp;Better  A great blog post by Szczepan Faber talked about 10 rules of unit testing. In this post, I want to discuss on the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patric Fornasier</title>
		<link>http://monkeyisland.pl/2008/01/31/10rules/#comment-2779</link>
		<dc:creator><![CDATA[Patric Fornasier]]></dc:creator>
		<pubDate>Mon, 18 Feb 2008 22:18:18 +0000</pubDate>
		<guid isPermaLink="false">http://szczepiq.wordpress.com/?p=55#comment-2779</guid>
		<description><![CDATA[Hey Szczepan!

#7 is a funny one, indeed. Remember when we laughed about it a few months ago? Yet I actually have sort of been convinced to write my tests in this way. Ok, ok, you might end up having a little bit more LOCs but I found that it does communicate the intent of the test better (and you can even name each intent in the form of a method name). Also, it seems to force me to slow down even more and take really small baby steps, which gives me more time to think about what I really want to code and which - in turn - hopefully leads to better code.

But as with all good things: don&#039;t be dogmatic about it ;)]]></description>
		<content:encoded><![CDATA[<p>Hey Szczepan!</p>
<p>#7 is a funny one, indeed. Remember when we laughed about it a few months ago? Yet I actually have sort of been convinced to write my tests in this way. Ok, ok, you might end up having a little bit more LOCs but I found that it does communicate the intent of the test better (and you can even name each intent in the form of a method name). Also, it seems to force me to slow down even more and take really small baby steps, which gives me more time to think about what I really want to code and which &#8211; in turn &#8211; hopefully leads to better code.</p>
<p>But as with all good things: don&#8217;t be dogmatic about it ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: szczepiq</title>
		<link>http://monkeyisland.pl/2008/01/31/10rules/#comment-2778</link>
		<dc:creator><![CDATA[szczepiq]]></dc:creator>
		<pubDate>Mon, 18 Feb 2008 17:55:58 +0000</pubDate>
		<guid isPermaLink="false">http://szczepiq.wordpress.com/?p=55#comment-2778</guid>
		<description><![CDATA[&gt;Test code is executable narrative. It’s ok to have a bit of duplication if it makes it an easier read.

I couldn&#039;t agree more! 

However, I prefer saying:
&lt;em&gt;&quot;test code is production code&quot;&lt;/em&gt;
over:
&lt;em&gt;&quot;test code is &lt;strong&gt;almost&lt;/strong&gt; production code&quot;&lt;/em&gt;. 

The latter is too easily translated into: &lt;em&gt;&quot;test code &lt;strong&gt;is not&lt;/strong&gt; production code&quot;&lt;/em&gt;...]]></description>
		<content:encoded><![CDATA[<p>&gt;Test code is executable narrative. It’s ok to have a bit of duplication if it makes it an easier read.</p>
<p>I couldn&#8217;t agree more! </p>
<p>However, I prefer saying:<br />
<em>&#8220;test code is production code&#8221;</em><br />
over:<br />
<em>&#8220;test code is <strong>almost</strong> production code&#8221;</em>. </p>
<p>The latter is too easily translated into: <em>&#8220;test code <strong>is not</strong> production code&#8221;</em>&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan North</title>
		<link>http://monkeyisland.pl/2008/01/31/10rules/#comment-2776</link>
		<dc:creator><![CDATA[Dan North]]></dc:creator>
		<pubDate>Wed, 13 Feb 2008 22:39:45 +0000</pubDate>
		<guid isPermaLink="false">http://szczepiq.wordpress.com/?p=55#comment-2776</guid>
		<description><![CDATA[I agree with your #1. And even more so with your #7.

For me it&#039;s about expressing one intent per example (or test, or whatever you call those little methods that ensure stuff works). If it takes a couple of expectations and an assert to express the intent, then that&#039;s probably ok.

If it takes a whole bunch of expectations, several asserts and a couple of paragraphs of setup, then we&#039;re probably in #1 territory.

I disagree with #5 a bit though. Production code is your application. Test code is executable narrative. It&#039;s ok to have a bit of duplication if it makes it an easier read.]]></description>
		<content:encoded><![CDATA[<p>I agree with your #1. And even more so with your #7.</p>
<p>For me it&#8217;s about expressing one intent per example (or test, or whatever you call those little methods that ensure stuff works). If it takes a couple of expectations and an assert to express the intent, then that&#8217;s probably ok.</p>
<p>If it takes a whole bunch of expectations, several asserts and a couple of paragraphs of setup, then we&#8217;re probably in #1 territory.</p>
<p>I disagree with #5 a bit though. Production code is your application. Test code is executable narrative. It&#8217;s ok to have a bit of duplication if it makes it an easier read.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

