<?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: Dependency Injection for Test Driven Development</title>
	<atom:link href="http://blog.ganeshzone.net/blog/index.php/2010/01/dependency-injection-for-test-driven-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ganeshzone.net/blog/index.php/2010/01/dependency-injection-for-test-driven-development/</link>
	<description>throw new Exception(&#34;#fail&#34;);</description>
	<lastBuildDate>Mon, 30 Aug 2010 08:42:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ganesh Ranganathan</title>
		<link>http://blog.ganeshzone.net/blog/index.php/2010/01/dependency-injection-for-test-driven-development/comment-page-1/#comment-433</link>
		<dc:creator>Ganesh Ranganathan</dc:creator>
		<pubDate>Thu, 18 Feb 2010 19:30:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ganeshzone.net/blog/?p=831#comment-433</guid>
		<description>Hi Krupa,
A core idea of Test driven development is to have the developer write code for the unit test along with the functionality. So you write a  stub for the method and then the test case for it and see the test fail. then you code the functionality and make sure it passes. This makes each method of your application work as expected. However when you combine more than one Layer in this testing process, external dependencies are introduced and your code may fail because of the database not working as expected. Hence the suggestion to build loosely coupled layers that can be tested independently. The QA would anyway functionally test the entire application to make sure all layers work together.</description>
		<content:encoded><![CDATA[<p>Hi Krupa,<br />
A core idea of Test driven development is to have the developer write code for the unit test along with the functionality. So you write a  stub for the method and then the test case for it and see the test fail. then you code the functionality and make sure it passes. This makes each method of your application work as expected. However when you combine more than one Layer in this testing process, external dependencies are introduced and your code may fail because of the database not working as expected. Hence the suggestion to build loosely coupled layers that can be tested independently. The QA would anyway functionally test the entire application to make sure all layers work together.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ganesh Ranganathan</title>
		<link>http://blog.ganeshzone.net/blog/index.php/2010/01/dependency-injection-for-test-driven-development/comment-page-1/#comment-432</link>
		<dc:creator>Ganesh Ranganathan</dc:creator>
		<pubDate>Thu, 18 Feb 2010 18:38:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ganeshzone.net/blog/?p=831#comment-432</guid>
		<description>Thanks for pointing this out Krupa, I have changed the timing to India Time. I had never paid attention to this before. :)</description>
		<content:encoded><![CDATA[<p>Thanks for pointing this out Krupa, I have changed the timing to India Time. I had never paid attention to this before. <img src='http://blog.ganeshzone.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: S Krupa Shankar</title>
		<link>http://blog.ganeshzone.net/blog/index.php/2010/01/dependency-injection-for-test-driven-development/comment-page-1/#comment-429</link>
		<dc:creator>S Krupa Shankar</dc:creator>
		<pubDate>Thu, 18 Feb 2010 13:52:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ganeshzone.net/blog/?p=831#comment-429</guid>
		<description>The timezone of this blog is configured to be US time? I wish I could wake up and post comments the same time in India... that will be a feast day.</description>
		<content:encoded><![CDATA[<p>The timezone of this blog is configured to be US time? I wish I could wake up and post comments the same time in India&#8230; that will be a feast day.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: S Krupa Shankar</title>
		<link>http://blog.ganeshzone.net/blog/index.php/2010/01/dependency-injection-for-test-driven-development/comment-page-1/#comment-428</link>
		<dc:creator>S Krupa Shankar</dc:creator>
		<pubDate>Thu, 18 Feb 2010 13:43:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ganeshzone.net/blog/?p=831#comment-428</guid>
		<description>Hi Ganesh,

Really nice post.

However, I have a doubt. As shown in the example, the BusinessObjects and DataObjects classes will be tested individually. With this methodology, there is no test in place to check how the BL works combined with the DL. Or does this portion has more to do with manual testing?

Krupa</description>
		<content:encoded><![CDATA[<p>Hi Ganesh,</p>
<p>Really nice post.</p>
<p>However, I have a doubt. As shown in the example, the BusinessObjects and DataObjects classes will be tested individually. With this methodology, there is no test in place to check how the BL works combined with the DL. Or does this portion has more to do with manual testing?</p>
<p>Krupa</p>
]]></content:encoded>
	</item>
</channel>
</rss>
