<?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: .Net Mocking Frameworks &#8211; Capability Comparison</title>
	<atom:link href="http://www.phpvs.net/2009/04/25/net-mocking-frameworks-capability-comparison/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phpvs.net/2009/04/25/net-mocking-frameworks-capability-comparison/</link>
	<description>ASP.Net and PHP go head to head</description>
	<lastBuildDate>Thu, 02 Sep 2010 06:04:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mocking Frameworks in .Net &#124; assumption of advancement</title>
		<link>http://www.phpvs.net/2009/04/25/net-mocking-frameworks-capability-comparison/comment-page-1/#comment-34689</link>
		<dc:creator>Mocking Frameworks in .Net &#124; assumption of advancement</dc:creator>
		<pubDate>Tue, 30 Mar 2010 19:47:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpvs.net/?p=80#comment-34689</guid>
		<description>[...] I played with some mocking frameworks in .Net. There are already some comparisons available (here, here or here). In this blog post I want to show which frameworks are available and which one fits best [...]</description>
		<content:encoded><![CDATA[<div style="padding: 1em; background-color: #FFCD71;">
<p>[...] I played with some mocking frameworks in .Net. There are already some comparisons available (here, here or here). In this blog post I want to show which frameworks are available and which one fits best [...]</p>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Using Mocking Framework &#8211; Moq &#171; Microsoft .NET Technology, Design Pattern, Architecture by kitchaiyong</title>
		<link>http://www.phpvs.net/2009/04/25/net-mocking-frameworks-capability-comparison/comment-page-1/#comment-29681</link>
		<dc:creator>Using Mocking Framework &#8211; Moq &#171; Microsoft .NET Technology, Design Pattern, Architecture by kitchaiyong</dc:creator>
		<pubDate>Wed, 30 Dec 2009 13:26:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpvs.net/?p=80#comment-29681</guid>
		<description>[...] Moq and some are commercial such as TypeMock . Here are two links that compare few of them http://www.phpvs.net/2009/04/25/net-mocking-frameworks-capability-comparison/ and http://codevanced.net/post/Mocking-frameworks-comparison.aspx [...]</description>
		<content:encoded><![CDATA[<div style="padding: 1em; background-color: #FFCD71;">
<p>[...] Moq and some are commercial such as TypeMock . Here are two links that compare few of them <a href="http://www.phpvs.net/2009/04/25/net-mocking-frameworks-capability-comparison/" rel="nofollow">http://www.phpvs.net/2009/04/25/net-mocking-frameworks-capability-comparison/</a> and <a href="http://codevanced.net/post/Mocking-frameworks-comparison.aspx" rel="nofollow">http://codevanced.net/post/Mocking-frameworks-comparison.aspx</a> [...]</p>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Living life dangerously &#171; SourceForge.net: Project snowcrash</title>
		<link>http://www.phpvs.net/2009/04/25/net-mocking-frameworks-capability-comparison/comment-page-1/#comment-23964</link>
		<dc:creator>Living life dangerously &#171; SourceForge.net: Project snowcrash</dc:creator>
		<pubDate>Wed, 30 Sep 2009 05:48:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpvs.net/?p=80#comment-23964</guid>
		<description>[...] a bit of research I decided on using Rhino Mocks. The decision was primarily made from examining this comparison and my past experiences with Ayende. I have previously used Fluent NHibernate from Ayende, and was [...]</description>
		<content:encoded><![CDATA[<div style="padding: 1em; background-color: #FFCD71;">
<p>[...] a bit of research I decided on using Rhino Mocks. The decision was primarily made from examining this comparison and my past experiences with Ayende. I have previously used Fluent NHibernate from Ayende, and was [...]</p>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: morgan</title>
		<link>http://www.phpvs.net/2009/04/25/net-mocking-frameworks-capability-comparison/comment-page-1/#comment-12379</link>
		<dc:creator>morgan</dc:creator>
		<pubDate>Sat, 30 May 2009 04:19:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpvs.net/?p=80#comment-12379</guid>
		<description>Thanks Gil.  I hadn&#039;t seen A.K.&#039;s project but I&#039;m glad you posted it.  Looks extremely useful.

I&#039;ll update the chart.</description>
		<content:encoded><![CDATA[<div style="padding: 1em; background-color: #FFCD71;">
<p>Thanks Gil.  I hadn&#039;t seen A.K.&#039;s project but I&#039;m glad you posted it.  Looks extremely useful.</p>
<p>I&#039;ll update the chart.</p>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gil Zilberfeld</title>
		<link>http://www.phpvs.net/2009/04/25/net-mocking-frameworks-capability-comparison/comment-page-1/#comment-12051</link>
		<dc:creator>Gil Zilberfeld</dc:creator>
		<pubDate>Tue, 26 May 2009 08:28:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpvs.net/?p=80#comment-12051</guid>
		<description>Hi Morgan,

Great work on the comparison. By the way did you see Andrew Kazyryevitch comparison? (http://code.google.com/p/mocking-frameworks-compare/)?

Just to update your table, we support callbacks now. And if you&#039;e like to see the comparison we did, email me at Gilz at typemock dot com.

Thanks.

Gil Zilberfeld
Typemock.</description>
		<content:encoded><![CDATA[<p>Hi Morgan,</p>
<p>Great work on the comparison. By the way did you see Andrew Kazyryevitch comparison? (<a href="http://code.google.com/p/mocking-frameworks-compare/)?" rel="nofollow">http://code.google.com/p/mocking-frameworks-compare/)?</a></p>
<p>Just to update your table, we support callbacks now. And if you&#039;e like to see the comparison we did, email me at Gilz at typemock dot com.</p>
<p>Thanks.</p>
<p>Gil Zilberfeld<br />
Typemock.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Weekly Links #51 &#124; GrantPalin.com</title>
		<link>http://www.phpvs.net/2009/04/25/net-mocking-frameworks-capability-comparison/comment-page-1/#comment-10266</link>
		<dc:creator>Weekly Links #51 &#124; GrantPalin.com</dc:creator>
		<pubDate>Mon, 04 May 2009 01:27:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpvs.net/?p=80#comment-10266</guid>
		<description>[...] .Net Mocking Frameworks - Capability Comparison A nice comparison of popular .NET mocking frameworks. Good information to have. [...]</description>
		<content:encoded><![CDATA[<div style="padding: 1em; background-color: #FFCD71;">
<p>[...] .Net Mocking Frameworks &#8211; Capability Comparison A nice comparison of popular .NET mocking frameworks. Good information to have. [...]</p>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: morgan</title>
		<link>http://www.phpvs.net/2009/04/25/net-mocking-frameworks-capability-comparison/comment-page-1/#comment-9450</link>
		<dc:creator>morgan</dc:creator>
		<pubDate>Sun, 26 Apr 2009 21:28:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpvs.net/?p=80#comment-9450</guid>
		<description>Urs -

Thanks for the reply.  I marked the event support as partial because all I could find on events with NMock2 was some posts that showed workarounds for raising events.  Same with callbacks.  It might have been NMock I was looking at.  Of course now that you point it out, I found in the documentation how to do it, so looks like no problems there.  I&#039;ll update the chart asap.

When you say NMock2 now supports mocking classes, do you mean non-virtual members of a class as well?

Documentation was something I considered adding, but it&#039;s a little subjective.  I think lots of people feel that Rhino is well documented, where I (being a relative noob) don&#039;t agree with that :)  Understandability of error messages may be something I add to the chart though, as this is often brought up as a failure of Rhino, which seems like a valid criticism.</description>
		<content:encoded><![CDATA[<p>Urs -</p>
<p>Thanks for the reply.  I marked the event support as partial because all I could find on events with NMock2 was some posts that showed workarounds for raising events.  Same with callbacks.  It might have been NMock I was looking at.  Of course now that you point it out, I found in the documentation how to do it, so looks like no problems there.  I&#039;ll update the chart asap.</p>
<p>When you say NMock2 now supports mocking classes, do you mean non-virtual members of a class as well?</p>
<p>Documentation was something I considered adding, but it&#039;s a little subjective.  I think lots of people feel that Rhino is well documented, where I (being a relative noob) don&#039;t agree with that <img src='http://www.phpvs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   Understandability of error messages may be something I add to the chart though, as this is often brought up as a failure of Rhino, which seems like a valid criticism.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Urs Enzler - NMock2 dev team</title>
		<link>http://www.phpvs.net/2009/04/25/net-mocking-frameworks-capability-comparison/comment-page-1/#comment-9392</link>
		<dc:creator>Urs Enzler - NMock2 dev team</dc:creator>
		<pubDate>Sun, 26 Apr 2009 10:22:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpvs.net/?p=80#comment-9392</guid>
		<description>Nice comparison! Thanks for this post.

Some additions to NMock2: 
- &quot;confusing product version&quot;: sad but true, we continue to develop NMock2 (with the 2 in the name). NMock2 is based on NMock version 2 (2 in the version number). Unfortunately, we cannot convince the &quot;old&quot; NMock team to link their pages to our version. The current version can be found at http://sourceforge.net/projects/nmock2.

- support for events: you mark it as partial support. What do you miss?

- class mocks: this is a new feature of our current release candidate, only.

- &quot;callback on mocked method&quot;: this is support with actions (e.g. DelegateAction) in NMock2.

- &quot;magic strings&quot;: it is true that that makes refactoring a bit more complex. However with the right toolset (e.g. ReSharper) we don&#039;t have problems with that. And from a pure TDD point of view, you should change your unit test first ;-)
these magic strings have advantages and disadvantages: the disadvantage is clear, no compile time check, no intellisense support; the advantage is the flexibility we get: our syntax is not limited to what you can express in C#, what results in the easiest syntax to read (compared to the other frameworks). And if you do TDD then you read your unit tests more often than you write them.

Other things to compare:
- documentation, although we are very bad regarding this ;-)
- understandability of error messages: here we are very good, I think
- performance: not crucial but important, too

But, as long as developers do use a mocking framework (which ever) it&#039;s a good sign :-)

Happy mocking
Urs</description>
		<content:encoded><![CDATA[<p>Nice comparison! Thanks for this post.</p>
<p>Some additions to NMock2:<br />
- &#034;confusing product version&#034;: sad but true, we continue to develop NMock2 (with the 2 in the name). NMock2 is based on NMock version 2 (2 in the version number). Unfortunately, we cannot convince the &#034;old&#034; NMock team to link their pages to our version. The current version can be found at <a href="http://sourceforge.net/projects/nmock2" rel="nofollow">http://sourceforge.net/projects/nmock2</a>.</p>
<p>- support for events: you mark it as partial support. What do you miss?</p>
<p>- class mocks: this is a new feature of our current release candidate, only.</p>
<p>- &#034;callback on mocked method&#034;: this is support with actions (e.g. DelegateAction) in NMock2.</p>
<p>- &#034;magic strings&#034;: it is true that that makes refactoring a bit more complex. However with the right toolset (e.g. ReSharper) we don&#039;t have problems with that. And from a pure TDD point of view, you should change your unit test first <img src='http://www.phpvs.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /><br />
these magic strings have advantages and disadvantages: the disadvantage is clear, no compile time check, no intellisense support; the advantage is the flexibility we get: our syntax is not limited to what you can express in C#, what results in the easiest syntax to read (compared to the other frameworks). And if you do TDD then you read your unit tests more often than you write them.</p>
<p>Other things to compare:<br />
- documentation, although we are very bad regarding this <img src='http://www.phpvs.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /><br />
- understandability of error messages: here we are very good, I think<br />
- performance: not crucial but important, too</p>
<p>But, as long as developers do use a mocking framework (which ever) it&#039;s a good sign <img src='http://www.phpvs.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Happy mocking<br />
Urs</p>
]]></content:encoded>
	</item>
</channel>
</rss>
