<?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: let&#8217;s spy</title>
	<atom:link href="http://monkeyisland.pl/2008/03/21/lets-spy/feed/" rel="self" type="application/rss+xml" />
	<link>http://monkeyisland.pl/2008/03/21/lets-spy/</link>
	<description>about software</description>
	<lastBuildDate>Wed, 08 Sep 2010 04:17:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: black</title>
		<link>http://monkeyisland.pl/2008/03/21/lets-spy/#comment-3504</link>
		<dc:creator>black</dc:creator>
		<pubDate>Fri, 23 Apr 2010 08:40:27 +0000</pubDate>
		<guid isPermaLink="false">http://szczepiq.wordpress.com/?p=76#comment-3504</guid>
		<description>Is there any step by step tutorial about Mockito. How I can use it in my hadoop cluster? Please help me. I&#039;m just learning hadoop so I&#039;m beginner.</description>
		<content:encoded><![CDATA[<p>Is there any step by step tutorial about Mockito. How I can use it in my hadoop cluster? Please help me. I&#8217;m just learning hadoop so I&#8217;m beginner.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: should I worry about the unexpected? &#171; monkey island</title>
		<link>http://monkeyisland.pl/2008/03/21/lets-spy/#comment-2928</link>
		<dc:creator>should I worry about the unexpected? &#171; monkey island</dc:creator>
		<pubDate>Sat, 12 Jul 2008 17:33:34 +0000</pubDate>
		<guid isPermaLink="false">http://szczepiq.wordpress.com/?p=76#comment-2928</guid>
		<description>[...] it&#8217;s relevant. That&#8217;s why I really like state based testing. That&#8217;s why I prefer spying to mocking. Finally, that&#8217;s why I don&#8217;t write verifyNoMoreInteractions() in every [...]</description>
		<content:encoded><![CDATA[<p>[...] it&#8217;s relevant. That&#8217;s why I really like state based testing. That&#8217;s why I prefer spying to mocking. Finally, that&#8217;s why I don&#8217;t write verifyNoMoreInteractions() in every [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://monkeyisland.pl/2008/03/21/lets-spy/#comment-2863</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Wed, 09 Apr 2008 01:28:25 +0000</pubDate>
		<guid isPermaLink="false">http://szczepiq.wordpress.com/?p=76#comment-2863</guid>
		<description>Personally, I&#039;d prefer to keep calling them &quot;mocks.&quot; Three reasons:

1. Discoverability. Everyone knows that they need a mock framework -- I have no idea why I&#039;d need a &quot;spy&quot; framework. You&#039;d have to educate everyone what Mockito (Spyito? ;)) even does before they&#039;d realize that they&#039;re interested in it. This kind of goes to Hamlet&#039;s point about &quot;Test Spy&quot; not being a well-known term.

2. Consistency. Yes, yes -- it&#039;s fine to argue about language purity. But in my experience, the term &quot;mock&quot; has come to mean what language purists refer to as a &quot;Test Double&quot; -- any object that can impersonate another and provide test support/verification. And that&#039;s fine, right? There&#039;s nothing inherently bad about calling those things &quot;mocks.&quot;

3. Catchiness. &quot;Mock&quot; sounds less intimidating than &quot;Spy&quot; and is catchier than &quot;Test Double.&quot;

Anyway, $0.02 from the peanut gallery.</description>
		<content:encoded><![CDATA[<p>Personally, I&#8217;d prefer to keep calling them &#8220;mocks.&#8221; Three reasons:</p>
<p>1. Discoverability. Everyone knows that they need a mock framework &#8212; I have no idea why I&#8217;d need a &#8220;spy&#8221; framework. You&#8217;d have to educate everyone what Mockito (Spyito? <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ) even does before they&#8217;d realize that they&#8217;re interested in it. This kind of goes to Hamlet&#8217;s point about &#8220;Test Spy&#8221; not being a well-known term.</p>
<p>2. Consistency. Yes, yes &#8212; it&#8217;s fine to argue about language purity. But in my experience, the term &#8220;mock&#8221; has come to mean what language purists refer to as a &#8220;Test Double&#8221; &#8212; any object that can impersonate another and provide test support/verification. And that&#8217;s fine, right? There&#8217;s nothing inherently bad about calling those things &#8220;mocks.&#8221;</p>
<p>3. Catchiness. &#8220;Mock&#8221; sounds less intimidating than &#8220;Spy&#8221; and is catchier than &#8220;Test Double.&#8221;</p>
<p>Anyway, $0.02 from the peanut gallery.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: felix</title>
		<link>http://monkeyisland.pl/2008/03/21/lets-spy/#comment-2852</link>
		<dc:creator>felix</dc:creator>
		<pubDate>Mon, 31 Mar 2008 20:00:27 +0000</pubDate>
		<guid isPermaLink="false">http://szczepiq.wordpress.com/?p=76#comment-2852</guid>
		<description>sorry guys i am a bit late. but 1. mockito provides stubs and spys. and as it happens what mockito now calls a mock is both. so why not define: mock implements stub, spy. then we can safely carry on calling these things mocks. btw i have no idea how mezaros defines stub ;-).</description>
		<content:encoded><![CDATA[<p>sorry guys i am a bit late. but 1. mockito provides stubs and spys. and as it happens what mockito now calls a mock is both. so why not define: mock implements stub, spy. then we can safely carry on calling these things mocks. btw i have no idea how mezaros defines stub <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hamlet D'Arcy</title>
		<link>http://monkeyisland.pl/2008/03/21/lets-spy/#comment-2838</link>
		<dc:creator>Hamlet D'Arcy</dc:creator>
		<pubDate>Sun, 23 Mar 2008 20:07:25 +0000</pubDate>
		<guid isPermaLink="false">http://szczepiq.wordpress.com/?p=76#comment-2838</guid>
		<description>This is really great. It&#039;s so nice to get away from record/playback when it is unneeded. Here is my first impressions: http://hamletdarcy.blogspot.com/2008/03/mockito-new-mock-framework-on-block.html</description>
		<content:encoded><![CDATA[<p>This is really great. It&#8217;s so nice to get away from record/playback when it is unneeded. Here is my first impressions: <a href="http://hamletdarcy.blogspot.com/2008/03/mockito-new-mock-framework-on-block.html" rel="nofollow">http://hamletdarcy.blogspot.com/2008/03/mockito-new-mock-framework-on-block.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hamlet D'Arcy</title>
		<link>http://monkeyisland.pl/2008/03/21/lets-spy/#comment-2829</link>
		<dc:creator>Hamlet D'Arcy</dc:creator>
		<pubDate>Fri, 21 Mar 2008 00:36:44 +0000</pubDate>
		<guid isPermaLink="false">http://szczepiq.wordpress.com/?p=76#comment-2829</guid>
		<description>I&#039;m really glad you&#039;re addressing the test spy issue. I totally agree that Test Spys are necessary to writing clear and concise mockist style unit tests. It was the largest take-away I had from Gerard Mezaros&#039; xUnit Patterns. 

I think the Test Spy issue hasn&#039;t gained traction for two reasons: 
1: The only place I&#039;ve seen them mentioned is in xUnit Patterns
2. As people learn to write unit tests, the progression from beginner to expert seems to progress from simple state tests, to hand rolled mocks, then to the most popular mock frameworks (EasyMock, jMock). Mockito is the first spy framework I&#039;d seen released. I think Test Spys are the next step in test evolution as far as history goes, but I think they should be between &quot;hand rolled mocks&quot; and &quot;mock frameworks&quot; in the learning progression.

I really want to play with Mockito in the next couple weeks and I promise to let you know what I think. I think the potential is huge because of the  over-specified software the record-playback encourages.  Thanks for putting this out there!</description>
		<content:encoded><![CDATA[<p>I&#8217;m really glad you&#8217;re addressing the test spy issue. I totally agree that Test Spys are necessary to writing clear and concise mockist style unit tests. It was the largest take-away I had from Gerard Mezaros&#8217; xUnit Patterns. </p>
<p>I think the Test Spy issue hasn&#8217;t gained traction for two reasons:<br />
1: The only place I&#8217;ve seen them mentioned is in xUnit Patterns<br />
2. As people learn to write unit tests, the progression from beginner to expert seems to progress from simple state tests, to hand rolled mocks, then to the most popular mock frameworks (EasyMock, jMock). Mockito is the first spy framework I&#8217;d seen released. I think Test Spys are the next step in test evolution as far as history goes, but I think they should be between &#8220;hand rolled mocks&#8221; and &#8220;mock frameworks&#8221; in the learning progression.</p>
<p>I really want to play with Mockito in the next couple weeks and I promise to let you know what I think. I think the potential is huge because of the  over-specified software the record-playback encourages.  Thanks for putting this out there!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
