<?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: Basic unit testing guidelines</title>
	<atom:link href="http://www.bugfree.dk/blog/2009/06/19/basic-unit-testing-guidelines/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bugfree.dk/blog/2009/06/19/basic-unit-testing-guidelines/</link>
	<description>Not anti-anything, just pro-quality</description>
	<lastBuildDate>Thu, 16 Dec 2010 07:18:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Bugfree.dk &#187; Blog Archive &#187; 2009 in retrospect</title>
		<link>http://www.bugfree.dk/blog/2009/06/19/basic-unit-testing-guidelines/comment-page-1/#comment-22117</link>
		<dc:creator>Bugfree.dk &#187; Blog Archive &#187; 2009 in retrospect</dc:creator>
		<pubDate>Mon, 28 Dec 2009 11:28:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.bugfree.dk/blog/?p=111#comment-22117</guid>
		<description>[...] Basic unit testing guidelines [...]</description>
		<content:encoded><![CDATA[<p>[...] Basic unit testing guidelines [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bugfree.dk &#187; Blog Archive &#187; Basic logging guidelines</title>
		<link>http://www.bugfree.dk/blog/2009/06/19/basic-unit-testing-guidelines/comment-page-1/#comment-16558</link>
		<dc:creator>Bugfree.dk &#187; Blog Archive &#187; Basic logging guidelines</dc:creator>
		<pubDate>Wed, 22 Jul 2009 22:42:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.bugfree.dk/blog/?p=111#comment-16558</guid>
		<description>[...] Bugfree.dk My random technology musings      &#171; Basic unit testing guidelines [...]</description>
		<content:encoded><![CDATA[<p>[...] Bugfree.dk My random technology musings      &laquo; Basic unit testing guidelines [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shyam</title>
		<link>http://www.bugfree.dk/blog/2009/06/19/basic-unit-testing-guidelines/comment-page-1/#comment-16402</link>
		<dc:creator>Shyam</dc:creator>
		<pubDate>Thu, 16 Jul 2009 20:14:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.bugfree.dk/blog/?p=111#comment-16402</guid>
		<description>Agreed, I especially agree on the naming conventions for the test. I love it when a test fails and I know exactly what is wrong, rather than having to dig in deep and look at the line of code. And I totally believe that you should write scenarios in your test rather than looking at each line of code and setting expectations so it hits it. You get a much better sense of what your method does when the tests are real world scenarios rather than random things to get 100% coverage.</description>
		<content:encoded><![CDATA[<p>Agreed, I especially agree on the naming conventions for the test. I love it when a test fails and I know exactly what is wrong, rather than having to dig in deep and look at the line of code. And I totally believe that you should write scenarios in your test rather than looking at each line of code and setting expectations so it hits it. You get a much better sense of what your method does when the tests are real world scenarios rather than random things to get 100% coverage.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nirav Assar</title>
		<link>http://www.bugfree.dk/blog/2009/06/19/basic-unit-testing-guidelines/comment-page-1/#comment-16386</link>
		<dc:creator>Nirav Assar</dc:creator>
		<pubDate>Thu, 16 Jul 2009 01:25:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.bugfree.dk/blog/?p=111#comment-16386</guid>
		<description>very well explained. Even though strict unit testing definitely has its benefits, some of which you mentioned like isolation of bugs, testable code, and code confidence as the test suite grows, unit tests have its limitations.  when it comes to meeting the requirements of the applications, unit testing just satifies module by module. integration tests carry more of the burden to meet the &quot;behavior&quot; of the system.  Read my post at http://assarconsulting.blogspot.com/2009/05/clearing-up-mudd-explaining-various_22.html explaining TDD and BDD.  I try to point out the differences an benefits of each.  TDD works very well with unit testing, although the larger benefit is driving the design of code.</description>
		<content:encoded><![CDATA[<p>very well explained. Even though strict unit testing definitely has its benefits, some of which you mentioned like isolation of bugs, testable code, and code confidence as the test suite grows, unit tests have its limitations.  when it comes to meeting the requirements of the applications, unit testing just satifies module by module. integration tests carry more of the burden to meet the &#8220;behavior&#8221; of the system.  Read my post at <a href="http://assarconsulting.blogspot.com/2009/05/clearing-up-mudd-explaining-various_22.html" rel="nofollow">http://assarconsulting.blogspot.com/2009/05/clearing-up-mudd-explaining-various_22.html</a> explaining TDD and BDD.  I try to point out the differences an benefits of each.  TDD works very well with unit testing, although the larger benefit is driving the design of code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ronnie</title>
		<link>http://www.bugfree.dk/blog/2009/06/19/basic-unit-testing-guidelines/comment-page-1/#comment-16374</link>
		<dc:creator>Ronnie</dc:creator>
		<pubDate>Wed, 15 Jul 2009 08:39:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.bugfree.dk/blog/?p=111#comment-16374</guid>
		<description>@Jimmy: I agree. Code coverage is an important metric. But even a 100% code coverage doesn&#039;t guarantee bug free code. Therefore I&#039;d focus on writing tests that cause one to reflect on ones design and business requirements.</description>
		<content:encoded><![CDATA[<p>@Jimmy: I agree. Code coverage is an important metric. But even a 100% code coverage doesn&#8217;t guarantee bug free code. Therefore I&#8217;d focus on writing tests that cause one to reflect on ones design and business requirements.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jimmy the Geek</title>
		<link>http://www.bugfree.dk/blog/2009/06/19/basic-unit-testing-guidelines/comment-page-1/#comment-16373</link>
		<dc:creator>Jimmy the Geek</dc:creator>
		<pubDate>Wed, 15 Jul 2009 08:00:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.bugfree.dk/blog/?p=111#comment-16373</guid>
		<description>I would work at code coverage with the unit tests as a goal.  It is the sections of code that aren&#039;t hit often that cause 95% of the bugs.</description>
		<content:encoded><![CDATA[<p>I would work at code coverage with the unit tests as a goal.  It is the sections of code that aren&#8217;t hit often that cause 95% of the bugs.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

