<?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 for Nizar&#039;s .NET Blog</title>
	<atom:link href="http://nizarnoorani.com/index.php/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://nizarnoorani.com</link>
	<description></description>
	<lastBuildDate>Sun, 07 Mar 2010 15:38:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Integrating TypeMock with ASP .NET Unit tests by ulu</title>
		<link>http://nizarnoorani.com/index.php/archives/111/comment-page-1#comment-6488</link>
		<dc:creator>ulu</dc:creator>
		<pubDate>Sun, 07 Mar 2010 15:38:45 +0000</pubDate>
		<guid isPermaLink="false">http://nizarnoorani.com/?p=111#comment-6488</guid>
		<description>My guess is that the Visual Studio&#039;s tests are executed in the separate process (WebDev), while Ivonna runs in the same process.

Anyway, Ivonna is targeted at different scenarios. For example, how do you test a postback with VS Studio ASP .NET Unit testing?</description>
		<content:encoded><![CDATA[<p>My guess is that the Visual Studio&#8217;s tests are executed in the separate process (WebDev), while Ivonna runs in the same process.</p>
<p>Anyway, Ivonna is targeted at different scenarios. For example, how do you test a postback with VS Studio ASP .NET Unit testing?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on LINQ : Implementing IN and NOT IN by Nizar</title>
		<link>http://nizarnoorani.com/index.php/archives/102/comment-page-1#comment-6461</link>
		<dc:creator>Nizar</dc:creator>
		<pubDate>Wed, 17 Feb 2010 19:06:42 +0000</pubDate>
		<guid isPermaLink="false">http://nizarnoorani.com/?p=102#comment-6461</guid>
		<description>What is not in Entity Framework model?</description>
		<content:encoded><![CDATA[<p>What is not in Entity Framework model?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on LINQ : Implementing IN and NOT IN by Janaranjan</title>
		<link>http://nizarnoorani.com/index.php/archives/102/comment-page-1#comment-6444</link>
		<dc:creator>Janaranjan</dc:creator>
		<pubDate>Tue, 16 Feb 2010 17:37:38 +0000</pubDate>
		<guid isPermaLink="false">http://nizarnoorani.com/?p=102#comment-6444</guid>
		<description>Nizar,

This is not working in Entity Framework model for some reason.</description>
		<content:encoded><![CDATA[<p>Nizar,</p>
<p>This is not working in Entity Framework model for some reason.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Am I officially a &#8220;nerd&#8221;?? by Nizar</title>
		<link>http://nizarnoorani.com/index.php/archives/132/comment-page-1#comment-6382</link>
		<dc:creator>Nizar</dc:creator>
		<pubDate>Thu, 11 Feb 2010 16:50:45 +0000</pubDate>
		<guid isPermaLink="false">http://nizarnoorani.com/?p=132#comment-6382</guid>
		<description>Depends on what kind of testing you&#039;re doing.  If it&#039;s unit testing, then you should stub out the DB layer for at least the following reasons.  1.  You have more control over the fake data, 2.  There is no reason to run all the logic is the DB layer since you are unit testing.  2. Your unit test will be much faster.  

If you are doing an integrated test then yes you should hit the DB and run all the logic in between that.

Hope this helps!</description>
		<content:encoded><![CDATA[<p>Depends on what kind of testing you&#8217;re doing.  If it&#8217;s unit testing, then you should stub out the DB layer for at least the following reasons.  1.  You have more control over the fake data, 2.  There is no reason to run all the logic is the DB layer since you are unit testing.  2. Your unit test will be much faster.  </p>
<p>If you are doing an integrated test then yes you should hit the DB and run all the logic in between that.</p>
<p>Hope this helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Am I officially a &#8220;nerd&#8221;?? by Nisar</title>
		<link>http://nizarnoorani.com/index.php/archives/132/comment-page-1#comment-6375</link>
		<dc:creator>Nisar</dc:creator>
		<pubDate>Thu, 11 Feb 2010 03:02:56 +0000</pubDate>
		<guid isPermaLink="false">http://nizarnoorani.com/?p=132#comment-6375</guid>
		<description>what is the best way of testing, should you go to db and pull data or stub/fake data?</description>
		<content:encoded><![CDATA[<p>what is the best way of testing, should you go to db and pull data or stub/fake data?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Refactoring for Unit Testing by Nizar</title>
		<link>http://nizarnoorani.com/index.php/archives/173/comment-page-1#comment-6353</link>
		<dc:creator>Nizar</dc:creator>
		<pubDate>Sun, 07 Feb 2010 19:12:23 +0000</pubDate>
		<guid isPermaLink="false">http://nizarnoorani.com/?p=173#comment-6353</guid>
		<description>Yes, you&#039;re right.  Thanking you for pointing that out.  I&#039;ll make the correction.</description>
		<content:encoded><![CDATA[<p>Yes, you&#8217;re right.  Thanking you for pointing that out.  I&#8217;ll make the correction.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Integrating TypeMock with ASP .NET Unit tests by MrBarns</title>
		<link>http://nizarnoorani.com/index.php/archives/111/comment-page-1#comment-6344</link>
		<dc:creator>MrBarns</dc:creator>
		<pubDate>Sun, 07 Feb 2010 02:49:10 +0000</pubDate>
		<guid isPermaLink="false">http://nizarnoorani.com/?p=111#comment-6344</guid>
		<description>Hey, I found your blog  while searching on Google your post looks very interesting for me. I will add a backlink and bookmark your site. Keep up the good work!</description>
		<content:encoded><![CDATA[<p>Hey, I found your blog  while searching on Google your post looks very interesting for me. I will add a backlink and bookmark your site. Keep up the good work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Refactoring for Unit Testing by krislig</title>
		<link>http://nizarnoorani.com/index.php/archives/173/comment-page-1#comment-6333</link>
		<dc:creator>krislig</dc:creator>
		<pubDate>Sat, 06 Feb 2010 11:24:24 +0000</pubDate>
		<guid isPermaLink="false">http://nizarnoorani.com/?p=173#comment-6333</guid>
		<description>How do you inject mock objects? Because I don&#039;t see them in constructor or method call in tests code.

I think that assert should be something like this:

CustomerService svc = new CustomerService(123, custManager.Object);
Assert.IsTrue(svc.CanPurchaseProduct(1, prodService.Object));

Correct me if I&#039;am wrong.</description>
		<content:encoded><![CDATA[<p>How do you inject mock objects? Because I don&#8217;t see them in constructor or method call in tests code.</p>
<p>I think that assert should be something like this:</p>
<p>CustomerService svc = new CustomerService(123, custManager.Object);<br />
Assert.IsTrue(svc.CanPurchaseProduct(1, prodService.Object));</p>
<p>Correct me if I&#8217;am wrong.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Refactoring for Unit Testing by Nizar</title>
		<link>http://nizarnoorani.com/index.php/archives/173/comment-page-1#comment-6316</link>
		<dc:creator>Nizar</dc:creator>
		<pubDate>Thu, 04 Feb 2010 18:19:18 +0000</pubDate>
		<guid isPermaLink="false">http://nizarnoorani.com/?p=173#comment-6316</guid>
		<description>To be clear refactoring should be done often and whenever necessary.  A general rule of thumb is: If you&#039;ve had to workaround a piece of code for more than 3 times, it&#039;s probably time to refactor it.  In this post, I am simply pointing how refactoring can be used to make existing code unit-testable.</description>
		<content:encoded><![CDATA[<p>To be clear refactoring should be done often and whenever necessary.  A general rule of thumb is: If you&#8217;ve had to workaround a piece of code for more than 3 times, it&#8217;s probably time to refactor it.  In this post, I am simply pointing how refactoring can be used to make existing code unit-testable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Refactoring for Unit Testing by Adam</title>
		<link>http://nizarnoorani.com/index.php/archives/173/comment-page-1#comment-6308</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Thu, 04 Feb 2010 05:13:05 +0000</pubDate>
		<guid isPermaLink="false">http://nizarnoorani.com/?p=173#comment-6308</guid>
		<description>Hey. I don&#039;t normally leave comments, but I just wanted to say thanks for the great information. I have a blog too, though
I don&#039;t write as good as you do, but if you want to check it out here it is. Thanks again and have a great day!

&lt;a href=&quot;http://www.associatedcontent.com/article/2409354/_commercial_carpenters_tool_list.html?cat=31&quot; rel=&quot;nofollow&quot;&gt;Commercial Carpenter&#039;s Tool List&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Hey. I don&#8217;t normally leave comments, but I just wanted to say thanks for the great information. I have a blog too, though<br />
I don&#8217;t write as good as you do, but if you want to check it out here it is. Thanks again and have a great day!</p>
<p><a href="http://www.associatedcontent.com/article/2409354/_commercial_carpenters_tool_list.html?cat=31" rel="nofollow">Commercial Carpenter&#8217;s Tool List</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->