<?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: TDD: Tests that give us a false confidence of coverage</title>
	<atom:link href="http://www.markhneedham.com/blog/2009/09/21/tdd-tests-that-give-us-a-false-confidence-of-coverage/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.markhneedham.com/blog/2009/09/21/tdd-tests-that-give-us-a-false-confidence-of-coverage/</link>
	<description>Thoughts on Software Development</description>
	<lastBuildDate>Tue, 16 Mar 2010 16:49:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Alexandre Gazola</title>
		<link>http://www.markhneedham.com/blog/2009/09/21/tdd-tests-that-give-us-a-false-confidence-of-coverage/comment-page-1/#comment-24121</link>
		<dc:creator>Alexandre Gazola</dc:creator>
		<pubDate>Mon, 12 Oct 2009 22:22:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=1663#comment-24121</guid>
		<description>Great point, Mark! That&#039;s really something to watch out for. Having false testing coverage can be worse than having no tests at all.</description>
		<content:encoded><![CDATA[<p>Great point, Mark! That's really something to watch out for. Having false testing coverage can be worse than having no tests at all.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Stum</title>
		<link>http://www.markhneedham.com/blog/2009/09/21/tdd-tests-that-give-us-a-false-confidence-of-coverage/comment-page-1/#comment-22883</link>
		<dc:creator>Michael Stum</dc:creator>
		<pubDate>Tue, 22 Sep 2009 17:56:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=1663#comment-22883</guid>
		<description>Fully agree with point 1. One problem seems to be that there are conflicting &quot;rules&quot; and some people are not sure which one to follow. There is a &quot;rule&quot; that says &quot;Only one assert per test, as you don&#039;t know which one failed&quot;. That would mean &quot;One Test per Property&quot;, and as tests are usually created through copy/paste, you end up with 15 tests that all do the same except for one assert. At some point that then creates such a big overhead (every intentional change breaks 15 tests at once that all need to be fixed) that people move away from TDD and think it&#039;s clumsy. Another &quot;rule&quot; is that simple Getters/Setters do not need to be tested because it is expected that they run. However, this &quot;rule&quot; specifically applies to simple POCOs, not to business classes.

Finding the right balance can only be achieved through experience, but I think that many people never move beyond the Assert.IsTrue(1+1,2) level, because Unit Testing becomes a lot more complicated afterwards.</description>
		<content:encoded><![CDATA[<p>Fully agree with point 1. One problem seems to be that there are conflicting "rules" and some people are not sure which one to follow. There is a "rule" that says "Only one assert per test, as you don't know which one failed". That would mean "One Test per Property", and as tests are usually created through copy/paste, you end up with 15 tests that all do the same except for one assert. At some point that then creates such a big overhead (every intentional change breaks 15 tests at once that all need to be fixed) that people move away from TDD and think it's clumsy. Another "rule" is that simple Getters/Setters do not need to be tested because it is expected that they run. However, this "rule" specifically applies to simple POCOs, not to business classes.</p>
<p>Finding the right balance can only be achieved through experience, but I think that many people never move beyond the Assert.IsTrue(1+1,2) level, because Unit Testing becomes a lot more complicated afterwards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reflective Perspective - Chris Alcock &#187; The Morning Brew #438</title>
		<link>http://www.markhneedham.com/blog/2009/09/21/tdd-tests-that-give-us-a-false-confidence-of-coverage/comment-page-1/#comment-22862</link>
		<dc:creator>Reflective Perspective - Chris Alcock &#187; The Morning Brew #438</dc:creator>
		<pubDate>Tue, 22 Sep 2009 07:18:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=1663#comment-22862</guid>
		<description>[...] TDD: Tests that give us a false confidence of coverage - Mark Needham talks about some classes of test which do nothing to improve the confidence in the application due to the way the tests exercise the code but don&#8217;t actually check anything important is correct [...]</description>
		<content:encoded><![CDATA[<p>[...] TDD: Tests that give us a false confidence of coverage &#8211; Mark Needham talks about some classes of test which do nothing to improve the confidence in the application due to the way the tests exercise the code but don't actually check anything important is correct [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
