<?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: To Mock Or Not To Mock</title>
	<atom:link href="http://pathfindersoftware.com/2009/07/to-mock-or-not-to-mock/feed/" rel="self" type="application/rss+xml" />
	<link>http://pathfindersoftware.com/2009/07/to-mock-or-not-to-mock/</link>
	<description>The Fastest Way to Launch Successful Software</description>
	<lastBuildDate>Thu, 19 Jan 2012 16:36:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Agile Ajax &#187; A Real Testing Example &#187; Pathfinder Development</title>
		<link>http://pathfindersoftware.com/2009/07/to-mock-or-not-to-mock/#comment-9647</link>
		<dc:creator>Agile Ajax &#187; A Real Testing Example &#187; Pathfinder Development</dc:creator>
		<pubDate>Fri, 17 Jul 2009 21:36:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=3220#comment-9647</guid>
		<description>[...] sort-of promised in last week&#8217;s post, I&#8217;m going to work through a real-world test example, with an eye toward explaining how and [...]</description>
		<content:encoded><![CDATA[<p>[...] sort-of promised in last week&#8217;s post, I&#8217;m going to work through a real-world test example, with an eye toward explaining how and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Franz See</title>
		<link>http://pathfindersoftware.com/2009/07/to-mock-or-not-to-mock/#comment-9646</link>
		<dc:creator>Franz See</dc:creator>
		<pubDate>Tue, 14 Jul 2009 16:01:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=3220#comment-9646</guid>
		<description>I am starting to dislike mocking as well due to the brittleness of the resulting test.

I am starting to lean towards creating fakes instead of setting mocked expectations. I find that the tests I create with this is less brittle and much cleaner.

However, I still find that behavior verification can sometimes still be the way. Although I can currently trying to use spies instead for the same reason.

Cheers,
Franz</description>
		<content:encoded><![CDATA[<p>I am starting to dislike mocking as well due to the brittleness of the resulting test.</p>
<p>I am starting to lean towards creating fakes instead of setting mocked expectations. I find that the tests I create with this is less brittle and much cleaner.</p>
<p>However, I still find that behavior verification can sometimes still be the way. Although I can currently trying to use spies instead for the same reason.</p>
<p>Cheers,<br />
Franz</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pramatr</title>
		<link>http://pathfindersoftware.com/2009/07/to-mock-or-not-to-mock/#comment-9645</link>
		<dc:creator>Pramatr</dc:creator>
		<pubDate>Tue, 14 Jul 2009 14:20:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=3220#comment-9645</guid>
		<description>I&#039;ve had a similar love/hate relationship with mocks. There are plenty of scary looking tests that I&#039;ve found on my travels that seem to suggest I&#039;m not the only one that wasn&#039;t sure if it was right or not. #3 on your list sounds just like the issues that were clearly visible, tests failing when something internally changes. Should the tests really care about this? These days I still use them, but they are very much along the same lines you describe. Good post!

[WORDPRESS HASHCASH] The poster sent us &#039;0 which is not a hashcash value.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve had a similar love/hate relationship with mocks. There are plenty of scary looking tests that I&#8217;ve found on my travels that seem to suggest I&#8217;m not the only one that wasn&#8217;t sure if it was right or not. #3 on your list sounds just like the issues that were clearly visible, tests failing when something internally changes. Should the tests really care about this? These days I still use them, but they are very much along the same lines you describe. Good post!</p>
<p>[WORDPRESS HASHCASH] The poster sent us &#8217;0 which is not a hashcash value.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Davis</title>
		<link>http://pathfindersoftware.com/2009/07/to-mock-or-not-to-mock/#comment-9644</link>
		<dc:creator>Eric Davis</dc:creator>
		<pubDate>Sat, 11 Jul 2009 23:14:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=3220#comment-9644</guid>
		<description>I&#039;ve a heavy mocker (all 2.5 reasons) but I&#039;ve also been bitten a lot when mocking out the different layers.  I&#039;ve been doing a lot of integration tests lately with no mocking, which makes things a bit easier to maintain.

The thing I like about mocking layers, is that I can test a wide range of inputs to a method easily (behavioral).</description>
		<content:encoded><![CDATA[<p>I&#8217;ve a heavy mocker (all 2.5 reasons) but I&#8217;ve also been bitten a lot when mocking out the different layers.  I&#8217;ve been doing a lot of integration tests lately with no mocking, which makes things a bit easier to maintain.</p>
<p>The thing I like about mocking layers, is that I can test a wide range of inputs to a method easily (behavioral).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ennuyer.net &#187; Blog Archive &#187; Rails Reading backlog</title>
		<link>http://pathfindersoftware.com/2009/07/to-mock-or-not-to-mock/#comment-9643</link>
		<dc:creator>Ennuyer.net &#187; Blog Archive &#187; Rails Reading backlog</dc:creator>
		<pubDate>Sat, 11 Jul 2009 09:20:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=3220#comment-9643</guid>
		<description>[...]  Agile Ajax » To Mock Or Not To Mock » Pathfinder Development  [...]</description>
		<content:encoded><![CDATA[<p>[...]  Agile Ajax » To Mock Or Not To Mock » Pathfinder Development  [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (User agent is rejected)
Page Caching using memcached (User agent is rejected)

Served from: pathfindersoftware.com @ 2012-02-10 00:48:37 -->
