<?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: expect-run-verify&#8230; Goodbye!</title>
	<atom:link href="http://monkeyisland.pl/2008/02/01/deathwish/feed/" rel="self" type="application/rss+xml" />
	<link>http://monkeyisland.pl/2008/02/01/deathwish/</link>
	<description>about software</description>
	<lastBuildDate>Thu, 11 Mar 2010 17:47:47 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: знакомства транс</title>
		<link>http://monkeyisland.pl/2008/02/01/deathwish/#comment-3397</link>
		<dc:creator>знакомства транс</dc:creator>
		<pubDate>Thu, 17 Dec 2009 17:28:55 +0000</pubDate>
		<guid isPermaLink="false">http://szczepiq.wordpress.com/?p=58#comment-3397</guid>
		<description>и всё эе: мне понравилось..</description>
		<content:encoded><![CDATA[<p>и всё эе: мне понравилось..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Padcom</title>
		<link>http://monkeyisland.pl/2008/02/01/deathwish/#comment-3114</link>
		<dc:creator>Padcom</dc:creator>
		<pubDate>Fri, 10 Apr 2009 14:39:03 +0000</pubDate>
		<guid isPermaLink="false">http://szczepiq.wordpress.com/?p=58#comment-3114</guid>
		<description>Going over some talks on TechNet and Google Video I&#039;ve discovered points of view about using mock frameworks that I&#039;d never ever expect. For example some people seem to bring up the point that while using mocking frameworks is not inherently bad they do tend to hide the additional complexity that your interfaces might introduce. The reason for that was that if your interface is to big and you&#039;re using Moq instead of creating an instance of it by yourself you will run into unnecessary dependencies and not even see it coming.
Even though I understand those kind of arguments I still believe that both Moq and Mockito are great frameworks and you know what? I use both all the time :D

Keep up the good work!</description>
		<content:encoded><![CDATA[<p>Going over some talks on TechNet and Google Video I&#8217;ve discovered points of view about using mock frameworks that I&#8217;d never ever expect. For example some people seem to bring up the point that while using mocking frameworks is not inherently bad they do tend to hide the additional complexity that your interfaces might introduce. The reason for that was that if your interface is to big and you&#8217;re using Moq instead of creating an instance of it by yourself you will run into unnecessary dependencies and not even see it coming.<br />
Even though I understand those kind of arguments I still believe that both Moq and Mockito are great frameworks and you know what? I use both all the time <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Keep up the good work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wuetender-junger-mann.de &#187; Blog Archive &#187; More Thoughts about Mocking and State</title>
		<link>http://monkeyisland.pl/2008/02/01/deathwish/#comment-2903</link>
		<dc:creator>wuetender-junger-mann.de &#187; Blog Archive &#187; More Thoughts about Mocking and State</dc:creator>
		<pubDate>Sun, 04 May 2008 18:58:34 +0000</pubDate>
		<guid isPermaLink="false">http://szczepiq.wordpress.com/?p=58#comment-2903</guid>
		<description>[...] end of the request, state is all that&#8217;s left). Some people argued for some kind of general state machine implementation in the mocking framework. I think this is utterly wrong. If you are writing java [...]</description>
		<content:encoded><![CDATA[<p>[...] end of the request, state is all that&#8217;s left). Some people argued for some kind of general state machine implementation in the mocking framework. I think this is utterly wrong. If you are writing java [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: szczepiq</title>
		<link>http://monkeyisland.pl/2008/02/01/deathwish/#comment-2796</link>
		<dc:creator>szczepiq</dc:creator>
		<pubDate>Thu, 06 Mar 2008 23:09:36 +0000</pubDate>
		<guid isPermaLink="false">http://szczepiq.wordpress.com/?p=58#comment-2796</guid>
		<description>&lt;blockquote&gt;Mockito can’t do that. For example, how can you say that in one state...&lt;/blockquote&gt;

&lt;strong&gt;Are you complaining about the fact that Mockito mocks are stateless?&lt;/strong&gt; Well, that&#039;s the point! Mocks are lightweight, test-drive is a pleasure, test code is clean &amp; simple which hopefully pushes the app code to be simple. We&#039;re always open to suggestions, though. &lt;a href=&quot;http://groups.google.com/group/mockito&quot; rel=&quot;nofollow&quot;&gt;Show us&lt;/a&gt; an example from &lt;strong&gt;your code&lt;/strong&gt; where you use mocking and mockito wouldn&#039;t help you. So far, I have no problems in verifying behaviour using mockito.

&lt;blockquote&gt;Abstract state machines one of the fundamental design techniques of OO programming, the stuff they teach in the first year programming courses at university. But Mockito can’t work with it...&lt;/blockquote&gt;

&lt;strong&gt;Simple and clean code&lt;/strong&gt; is one of the fundamental techniques of building successful software, the stuff one learns in the first year of working as a software developer. Mockito shines in that respect.</description>
		<content:encoded><![CDATA[<blockquote><p>Mockito can’t do that. For example, how can you say that in one state&#8230;</p></blockquote>
<p><strong>Are you complaining about the fact that Mockito mocks are stateless?</strong> Well, that&#8217;s the point! Mocks are lightweight, test-drive is a pleasure, test code is clean &amp; simple which hopefully pushes the app code to be simple. We&#8217;re always open to suggestions, though. <a href="http://groups.google.com/group/mockito" rel="nofollow">Show us</a> an example from <strong>your code</strong> where you use mocking and mockito wouldn&#8217;t help you. So far, I have no problems in verifying behaviour using mockito.</p>
<blockquote><p>Abstract state machines one of the fundamental design techniques of OO programming, the stuff they teach in the first year programming courses at university. But Mockito can’t work with it&#8230;</p></blockquote>
<p><strong>Simple and clean code</strong> is one of the fundamental techniques of building successful software, the stuff one learns in the first year of working as a software developer. Mockito shines in that respect.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://monkeyisland.pl/2008/02/01/deathwish/#comment-2794</link>
		<dc:creator>James</dc:creator>
		<pubDate>Wed, 05 Mar 2008 21:11:22 +0000</pubDate>
		<guid isPermaLink="false">http://szczepiq.wordpress.com/?p=58#comment-2794</guid>
		<description>It sounds like you are thinking about objects in the wrong way and that&#039;s why you are getting tied up in knots by expectations.

You should not be thinking about &quot;expect/run/verify&quot; or the internal data stored in your objects.

You should be thinking about the communication between your objects and describing those messaging patterns.

Mockito can&#039;t do that.  For example, how can you say that in one state a query method is stubbed to return value A, then a single call to a command method puts the object into a state in which the query method will return value B.

Abstract state machines one of the fundamental design techniques of OO programming, the stuff they teach in the first year programming courses at university.  But Mockito can&#039;t work with it.  It&#039;s only barely useful for OO programming.</description>
		<content:encoded><![CDATA[<p>It sounds like you are thinking about objects in the wrong way and that&#8217;s why you are getting tied up in knots by expectations.</p>
<p>You should not be thinking about &#8220;expect/run/verify&#8221; or the internal data stored in your objects.</p>
<p>You should be thinking about the communication between your objects and describing those messaging patterns.</p>
<p>Mockito can&#8217;t do that.  For example, how can you say that in one state a query method is stubbed to return value A, then a single call to a command method puts the object into a state in which the query method will return value B.</p>
<p>Abstract state machines one of the fundamental design techniques of OO programming, the stuff they teach in the first year programming courses at university.  But Mockito can&#8217;t work with it.  It&#8217;s only barely useful for OO programming.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Revue de Presse Xebia par J2EE, Agilité et SOA&#160;:&#160;Le blog de Xebia France</title>
		<link>http://monkeyisland.pl/2008/02/01/deathwish/#comment-2786</link>
		<dc:creator>Revue de Presse Xebia par J2EE, Agilité et SOA&#160;:&#160;Le blog de Xebia France</dc:creator>
		<pubDate>Mon, 03 Mar 2008 18:32:55 +0000</pubDate>
		<guid isPermaLink="false">http://szczepiq.wordpress.com/?p=58#comment-2786</guid>
		<description>[...] Faber nous présente dans expect-run-verify&#8230; Goodbye! les raisons qui l&#8217;ont poussé à créer un nouveau framework de mocks - Mockito - en partant [...]</description>
		<content:encoded><![CDATA[<p>[...] Faber nous présente dans expect-run-verify&#8230; Goodbye! les raisons qui l&#8217;ont poussé à créer un nouveau framework de mocks &#8211; Mockito &#8211; en partant [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
