<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Holy Over Mocking Batman: A Natural Progression</title>
	<atom:link href="http://blog.coreycoogan.com/2010/01/28/holy-over-mocking-batman-a-natural-progression/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.coreycoogan.com/2010/01/28/holy-over-mocking-batman-a-natural-progression/</link>
	<description>Python, .Net, C#, ASP.NET MVC, Architecture and Design</description>
	<lastBuildDate>Tue, 07 Feb 2012 04:33:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: coreycoogan</title>
		<link>http://blog.coreycoogan.com/2010/01/28/holy-over-mocking-batman-a-natural-progression/#comment-104</link>
		<dc:creator><![CDATA[coreycoogan]]></dc:creator>
		<pubDate>Fri, 19 Feb 2010 21:11:36 +0000</pubDate>
		<guid isPermaLink="false">http://coreycoogan.wordpress.com/?p=258#comment-104</guid>
		<description><![CDATA[Thanks for the comment James.  Your tests should test the core logic that you are getting at. For example, a typical layered architecture might include some domain services that interact with entities.  Don&#039;t bother testing how the service method gets the entity, just test the logic and state changed by the service method. You may then have Application Services that are responsible for getting entities from repository and feeding them into the domain service.  From that standpoint, an interaction test to ensure that the app service is opening a transaction or calling the proper domain service may be appropriate, but you wouldn&#039;t need to assert any calls on your Repository and could Mock your domain service.  Does this make sense? Let me know if you&#039;d like to see some code and I will write a short post to include some.]]></description>
		<content:encoded><![CDATA[<p>Thanks for the comment James.  Your tests should test the core logic that you are getting at. For example, a typical layered architecture might include some domain services that interact with entities.  Don&#8217;t bother testing how the service method gets the entity, just test the logic and state changed by the service method. You may then have Application Services that are responsible for getting entities from repository and feeding them into the domain service.  From that standpoint, an interaction test to ensure that the app service is opening a transaction or calling the proper domain service may be appropriate, but you wouldn&#8217;t need to assert any calls on your Repository and could Mock your domain service.  Does this make sense? Let me know if you&#8217;d like to see some code and I will write a short post to include some.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Thigpen</title>
		<link>http://blog.coreycoogan.com/2010/01/28/holy-over-mocking-batman-a-natural-progression/#comment-103</link>
		<dc:creator><![CDATA[James Thigpen]]></dc:creator>
		<pubDate>Thu, 18 Feb 2010 19:51:12 +0000</pubDate>
		<guid isPermaLink="false">http://coreycoogan.wordpress.com/?p=258#comment-103</guid>
		<description><![CDATA[So I&#039;m at the realization now that interaction based tests with too many mocks yields fragile tests, but in the blog you don&#039;t really describe what that next step is, just that &quot;tests get simpler&quot;.  How do they get simpler? What do they look like?]]></description>
		<content:encoded><![CDATA[<p>So I&#8217;m at the realization now that interaction based tests with too many mocks yields fragile tests, but in the blog you don&#8217;t really describe what that next step is, just that &#8220;tests get simpler&#8221;.  How do they get simpler? What do they look like?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

