<?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: Enforcing test coverage in the&#160;build</title>
	<atom:link href="http://www.magpiebrain.com/blog/2005/01/06/enforcing-test-coverage-in-the-build/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.magpiebrain.com/blog/2005/01/06/enforcing-test-coverage-in-the-build/</link>
	<description>Sam Newman's blog</description>
	<pubDate>Sat, 05 Jul 2008 00:35:49 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Sam Newman</title>
		<link>http://www.magpiebrain.com/blog/2005/01/06/enforcing-test-coverage-in-the-build/#comment-613</link>
		<dc:creator>Sam Newman</dc:creator>
		<pubDate>Fri, 07 Jan 2005 09:45:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2005/01/06/enforcing-test-coverage-in-the-build/#comment-613</guid>
		<description>Agreed. Attempting to enforce an ideal in an automated fashion which no-one agrees with is never going to be easy, practical or sensible. If you take a look at Howard's presentation, his "pyramid of quality" shows different practises that can be used, each one being dependent on the one before. For example you can't sell test coverage as being important unless your team likes tests.

I too would be dubious about 100% test coverage across anything other than a trivial code base. What I don't have is any real notion of what a reasonable expectation to set in terms of coverage - in many ways introducing this practise on an existing codebase would be much easier, as you already have a base level to aim for.
</description>
		<content:encoded><![CDATA[<p>Agreed. Attempting to enforce an ideal in an automated fashion which no-one agrees with is never going to be easy, practical or sensible. If you take a look at Howard&#8217;s presentation, his &#8220;pyramid of quality&#8221; shows different practises that can be used, each one being dependent on the one before. For example you can&#8217;t sell test coverage as being important unless your team likes tests.</p>
<p>I too would be dubious about 100% test coverage across anything other than a trivial code base. What I don&#8217;t have is any real notion of what a reasonable expectation to set in terms of coverage &#8211; in many ways introducing this practise on an existing codebase would be much easier, as you already have a base level to aim for.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Watkins</title>
		<link>http://www.magpiebrain.com/blog/2005/01/06/enforcing-test-coverage-in-the-build/#comment-612</link>
		<dc:creator>Robert Watkins</dc:creator>
		<pubDate>Thu, 06 Jan 2005 21:07:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2005/01/06/enforcing-test-coverage-in-the-build/#comment-612</guid>
		<description>You do have to be somewhat careful with this idea. In a team that doesn't really buy into the test coverage concept, you find (well, _I_ have found) that people will write silly little tests to give 100% coverage. Also, people seem to _stop_ writing tests when they get 100% coverage, even though a lot of the possible interactions haven't been explorered yet.

I find it useful to set a threshold level, and then examine the fluctations in coverage levels over time (something the clover history makes very easy). If the threshold level is 100%, then there is no fluctuation; this implies to me that I would be losing some information.

With a team that is committed to writing meaningful tests, and with the maturity to do so, this becomes less of an issue, of course.</description>
		<content:encoded><![CDATA[<p>You do have to be somewhat careful with this idea. In a team that doesn&#8217;t really buy into the test coverage concept, you find (well, <em>I</em> have found) that people will write silly little tests to give 100% coverage. Also, people seem to <em>stop</em> writing tests when they get 100% coverage, even though a lot of the possible interactions haven&#8217;t been explorered yet.</p>
<p>I find it useful to set a threshold level, and then examine the fluctations in coverage levels over time (something the clover history makes very easy). If the threshold level is 100%, then there is no fluctuation; this implies to me that I would be losing some information.</p>
<p>With a team that is committed to writing meaningful tests, and with the maturity to do so, this becomes less of an issue, of course.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam Newman</title>
		<link>http://www.magpiebrain.com/blog/2005/01/06/enforcing-test-coverage-in-the-build/#comment-611</link>
		<dc:creator>Sam Newman</dc:creator>
		<pubDate>Thu, 06 Jan 2005 16:29:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2005/01/06/enforcing-test-coverage-in-the-build/#comment-611</guid>
		<description>Yeah - a nice idea but from what I've heard is of little practical use. I know the guy who wrote it, and he doesn't even use it :-)</description>
		<content:encoded><![CDATA[<p>Yeah &#8211; a nice idea but from what I&#8217;ve heard is of little practical use. I know the guy who wrote it, and he doesn&#8217;t even use it :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon Brunning</title>
		<link>http://www.magpiebrain.com/blog/2005/01/06/enforcing-test-coverage-in-the-build/#comment-610</link>
		<dc:creator>Simon Brunning</dc:creator>
		<pubDate>Thu, 06 Jan 2005 16:26:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2005/01/06/enforcing-test-coverage-in-the-build/#comment-610</guid>
		<description>Have you seen Jester[1]? It finds out if your code is actually being tested by *mutating* it. If a piece of code can change without causing your tests to fail, then clearly it isn't being tested.

Never had a go myself, and I imagine it must take *ages* - an occasional thing, not part of your standard build - but it looks cool.

[1] "http://jester.sourceforge.net/":http://jester.sourceforge.net/</description>
		<content:encoded><![CDATA[<p>Have you seen Jester<sup><a href="#fn1">1</a></sup>? It finds out if your code is actually being tested by <strong>mutating</strong> it. If a piece of code can change without causing your tests to fail, then clearly it isn&#8217;t being tested.</p>
<p>Never had a go myself, and I imagine it must take <strong>ages</strong> &#8211; an occasional thing, not part of your standard build &#8211; but it looks cool.</p>
<p>[1] <a href="http://jester.sourceforge.net/" onclick="javascript:pageTracker._trackPageview('/outbound/comment/jester.sourceforge.net');">http://jester.sourceforge.net/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Howard van Rooijen</title>
		<link>http://www.magpiebrain.com/blog/2005/01/06/enforcing-test-coverage-in-the-build/#comment-609</link>
		<dc:creator>Howard van Rooijen</dc:creator>
		<pubDate>Thu, 06 Jan 2005 16:15:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2005/01/06/enforcing-test-coverage-in-the-build/#comment-609</guid>
		<description>Code Coverage (in the .NET arena) was one of the engineering practices I covered in my Microsoft Architects Forum presentation -"The Value of Agile Methods"

for the full slide deck and notes take a look at:
http://blogs.conchango.com/howardvanrooijen/archive/2004/12/07/397.aspx</description>
		<content:encoded><![CDATA[<p>Code Coverage (in the .NET arena) was one of the engineering practices I covered in my Microsoft Architects Forum presentation -&#8221;The Value of Agile Methods&#8221;</p>
<p>for the full slide deck and notes take a look at:<br />
<a href="http://blogs.conchango.com/howardvanrooijen/archive/2004/12/07/397.aspx" onclick="javascript:pageTracker._trackPageview('/outbound/comment/blogs.conchango.com');" rel="nofollow">http://blogs.conchango.com/howardvanrooijen/archive/2004/12/07/397.aspx</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
