<?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: Improve your unit-tests with jMock2</title>
	<atom:link href="http://technology.amis.nl/blog/3382/improve-your-unit-tests-with-jmock2/feed" rel="self" type="application/rss+xml" />
	<link>http://technology.amis.nl/blog/3382/improve-your-unit-tests-with-jmock2</link>
	<description>Weblog for the AMIS Technology corner</description>
	<lastBuildDate>Fri, 10 Feb 2012 16:47:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Alan van Dam</title>
		<link>http://technology.amis.nl/blog/3382/improve-your-unit-tests-with-jmock2/comment-page-1#comment-340107</link>
		<dc:creator>Alan van Dam</dc:creator>
		<pubDate>Fri, 05 Sep 2008 07:50:05 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=3382#comment-340107</guid>
		<description>@Gene, Yes the @RunWith could be a problem if your are already using one. Adding a call &#039;mockContext.assertIsSatisfied();&#039;  at the end of your test will also check the expectations. But this could easily be forgotten. Maybe time for some more comparison between the two. I found a nice comparison: http://jeantessier.com/SoftwareEngineering/Mocking.html</description>
		<content:encoded><![CDATA[<p>@Gene, Yes the @RunWith could be a problem if your are already using one. Adding a call &#8216;mockContext.assertIsSatisfied();&#8217;  at the end of your test will also check the expectations. But this could easily be forgotten. Maybe time for some more comparison between the two. I found a nice comparison: <a href="http://jeantessier.com/SoftwareEngineering/Mocking.html" rel="nofollow">http://jeantessier.com/SoftwareEngineering/Mocking.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: raveman</title>
		<link>http://technology.amis.nl/blog/3382/improve-your-unit-tests-with-jmock2/comment-page-1#comment-340000</link>
		<dc:creator>raveman</dc:creator>
		<pubDate>Thu, 04 Sep 2008 15:16:21 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=3382#comment-340000</guid>
		<description>I started with JMock and then i moved to EasyMock and never look back, the way i see it its just API. Both have almost the same feauters - with JMock2 you use anonymous inter classes with EasyMock static imports. @RunWith may make EasyMock better.</description>
		<content:encoded><![CDATA[<p>I started with JMock and then i moved to EasyMock and never look back, the way i see it its just API. Both have almost the same feauters &#8211; with JMock2 you use anonymous inter classes with EasyMock static imports. @RunWith may make EasyMock better.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gene De Lisa</title>
		<link>http://technology.amis.nl/blog/3382/improve-your-unit-tests-with-jmock2/comment-page-1#comment-339985</link>
		<dc:creator>Gene De Lisa</dc:creator>
		<pubDate>Thu, 04 Sep 2008 11:47:31 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=3382#comment-339985</guid>
		<description>@RunWith(JMock.class) is a problem.

How can you use jmock mocks with this:
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration

My answer: EasyMock. Unless you have another way?</description>
		<content:encoded><![CDATA[<p>@RunWith(JMock.class) is a problem.</p>
<p>How can you use jmock mocks with this:<br />
@RunWith(SpringJUnit4ClassRunner.class)<br />
@ContextConfiguration</p>
<p>My answer: EasyMock. Unless you have another way?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

