<?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: Unit tests are production code</title>
	<atom:link href="http://erichauser.net/2009/05/16/unit-tests-are-production-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://erichauser.net/2009/05/16/unit-tests-are-production-code/</link>
	<description>J2EE, .NET, and general technology</description>
	<lastBuildDate>Fri, 30 Oct 2009 01:03:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: ehauser</title>
		<link>http://erichauser.net/2009/05/16/unit-tests-are-production-code/comment-page-1/#comment-130</link>
		<dc:creator>ehauser</dc:creator>
		<pubDate>Wed, 20 May 2009 04:25:51 +0000</pubDate>
		<guid isPermaLink="false">http://erichauser.net/2009/05/16/unit-tests-are-production-code/#comment-130</guid>
		<description>EP - I&#039;m not sure what the reasoning behind it was, I just saw it in a goals document.  I am sure the thinking was that we really need to get our tests fixed, which is a good goal.  I&#039;m just advocating that there is really one valid state for tests - green.</description>
		<content:encoded><![CDATA[<p>EP &#8211; I&#8217;m not sure what the reasoning behind it was, I just saw it in a goals document.  I am sure the thinking was that we really need to get our tests fixed, which is a good goal.  I&#8217;m just advocating that there is really one valid state for tests &#8211; green.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Peters</title>
		<link>http://erichauser.net/2009/05/16/unit-tests-are-production-code/comment-page-1/#comment-128</link>
		<dc:creator>Eric Peters</dc:creator>
		<pubDate>Sat, 16 May 2009 16:42:42 +0000</pubDate>
		<guid isPermaLink="false">http://erichauser.net/2009/05/16/unit-tests-are-production-code/#comment-128</guid>
		<description>I couldn&#039;t agree more -- Unit tests are production code; and 100% of unit tests should be passing at each commit.  However, you left out another key issue: code coverage by the unit tests.

I&#039;m working on a large 10 year old software package with a great deal of legacy technical debt.  Our build process will fail if the coverage drops at all.  So, even though we&#039;re still only marginally above 50% coverage (due to legacy code), no new code gets into the code base without 100% coverage.  It&#039;s quite effective, especially with a fully automated build/test processes triggered by each svn commit.

Was there justification for the 80% line of thinking?  That stance sounds equivalent to saying that 20% broken is okay.</description>
		<content:encoded><![CDATA[<p>I couldn&#8217;t agree more &#8212; Unit tests are production code; and 100% of unit tests should be passing at each commit.  However, you left out another key issue: code coverage by the unit tests.</p>
<p>I&#8217;m working on a large 10 year old software package with a great deal of legacy technical debt.  Our build process will fail if the coverage drops at all.  So, even though we&#8217;re still only marginally above 50% coverage (due to legacy code), no new code gets into the code base without 100% coverage.  It&#8217;s quite effective, especially with a fully automated build/test processes triggered by each svn commit.</p>
<p>Was there justification for the 80% line of thinking?  That stance sounds equivalent to saying that 20% broken is okay.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
