<?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: Fight starter #66: The Exercise Suite</title>
	<atom:link href="http://caines.ca/blog/programming/fight-starter-66-the-exercise-suite/feed/" rel="self" type="application/rss+xml" />
	<link>http://caines.ca/blog/programming/fight-starter-66-the-exercise-suite/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
	<description>Shell-Shocked Ramblings from the Trenches of Software Development</description>
	<lastBuildDate>Tue, 03 Jan 2012 16:51:44 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Cainus</title>
		<link>http://caines.ca/blog/programming/fight-starter-66-the-exercise-suite/comment-page-1/#comment-427</link>
		<dc:creator>Cainus</dc:creator>
		<pubDate>Tue, 27 Jul 2010 04:21:23 +0000</pubDate>
		<guid isPermaLink="false">http://caines.ca/blog/?p=266#comment-427</guid>
		<description>I like that question: &quot;How many lines of code does it take to break a program?&quot;.  That really shines a light on the mindset that&#039;s stopping people from unit-testing more doesn&#039;t it?</description>
		<content:encoded><![CDATA[<p>I like that question: &#8220;How many lines of code does it take to break a program?&#8221;.  That really shines a light on the mindset that&#8217;s stopping people from unit-testing more doesn&#8217;t it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Purkiss</title>
		<link>http://caines.ca/blog/programming/fight-starter-66-the-exercise-suite/comment-page-1/#comment-426</link>
		<dc:creator>Adam Purkiss</dc:creator>
		<pubDate>Mon, 26 Jul 2010 21:39:23 +0000</pubDate>
		<guid isPermaLink="false">http://caines.ca/blog/?p=266#comment-426</guid>
		<description>I agree 100% ;)  Does 100% coverage have any value beyond the proportion of code tested with meaningful asserts validating results?  I would argue that the burden of proof is not there, but lies with those who contend it doesn’t have any additional value.  I would also add that for type safe languages or strict typing in general, there is another easily avoided error that 100% coverage handles for you: (where arrays start at 0, for example)

Integer i[1];
I[1] = 86;

Of course this is easy to see here with literals for element indicators.  But in large code bases with loops and variables pointing to the n’th element of arrays, having tests that simply execute through code will easily weed out these issues.  Pointing to a missing element in an array is a runtime bomb for even the strongest typed languages, and has absolutely nothing to do with validating return values with asserts.

~ How many lines of code does it take to break a program? ~</description>
		<content:encoded><![CDATA[<p>I agree 100% <img src='http://caines.ca/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />   Does 100% coverage have any value beyond the proportion of code tested with meaningful asserts validating results?  I would argue that the burden of proof is not there, but lies with those who contend it doesn’t have any additional value.  I would also add that for type safe languages or strict typing in general, there is another easily avoided error that 100% coverage handles for you: (where arrays start at 0, for example)</p>
<p>Integer i[1];<br />
I[1] = 86;</p>
<p>Of course this is easy to see here with literals for element indicators.  But in large code bases with loops and variables pointing to the n’th element of arrays, having tests that simply execute through code will easily weed out these issues.  Pointing to a missing element in an array is a runtime bomb for even the strongest typed languages, and has absolutely nothing to do with validating return values with asserts.</p>
<p>~ How many lines of code does it take to break a program? ~</p>
]]></content:encoded>
	</item>
</channel>
</rss>

