<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Comment Feed for Channel 9 - Nikolai Tillmann: Moles - Replace any .NET method with a delegate</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate/RSS"></atom:link>
	<image>
		<url>http://ecn.channel9.msdn.com/o9/ch9/7/3/0/4/2/5/moles_512_ch9.png</url>
		<title>Channel 9 - Nikolai Tillmann: Moles - Replace any .NET method with a delegate</title>
		<link></link>
	</image>
	<description>IMPORTANT! Moles is now the Fakes Framework in Visual Studio 11. Learn more at http://aka.ms/vs11-fakes. Nikolai Tillman, a member of the RiSE group at Microsoft Research, gives a short demo of&amp;nbsp;Moles, a new framework&amp;nbsp;that allows replacing any .NET method with a delegate. In the context of unit testing, one can use Moles to isolate from environment dependencies (such as time, file system, database, etc...) even when those dependencies are hard-coded through static method or sealed types. In this demo, Nikolai goes through the famous Y2K bug and how to test it... The&amp;nbsp;Research in Software Engineering team (RiSE) coordinates Microsoft&#39;s research in Software Engineering in Redmond, USA. </description>
	<link></link>
	<language>en</language>
	<pubDate>Sun, 19 May 2013 19:08:18 GMT</pubDate>
	<lastBuildDate>Sun, 19 May 2013 19:08:18 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<item>
		<title>Re: Nikolai Tillmann: Moles - Replace any .NET method with a delegate</title>
		<description>
			<![CDATA[
<p>Very cool! One question: Does Moles work with other test frameworks (NUnit, MbUnit, ...) or just with the Visual Studio testing framework.</p>
<p>&nbsp;</p>
<p>Also where can I buy one of those whiteboards <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-4.gif' alt='Tongue Out' /> It looks to be an&nbsp;<a href="http://www.alibaba.com/product-gs/219715293/EduBoard_interactive_whiteboard_P3000.html">EduBoard interactive whiteboard P3000</a>, but they don't appear to have any retailers in
 the US.</p>
<p>&nbsp;</p>
<p>Keep up the great work!</p>
<p>posted by gbrayut</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634004034780000000</link>
		<pubDate>Fri, 29 Jan 2010 23:11:18 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634004034780000000</guid>
		<dc:creator>gbrayut</dc:creator>
	</item>
	<item>
		<title>Re: Nikolai Tillmann: Moles - Replace any .NET method with a delegate</title>
		<description>
			<![CDATA[
<p>Moles work with any .NET executable, i.e. with any test framework that has a console application. We provide a better integration experience for Visual Studio Unit Test because it supports hosting. In the samples that ship with Pex/Moles, you will also find
 custom test framework extensions for NUnit, xUnit.net and MbUnit that allow a smooth integration. Don's hesitate to ask any questions on this on our forums.</p>
<p>&nbsp;</p>
<p>It is not even a whiteboard, it is just a projector and a eBeam Whiteboard device <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-5.gif' alt='Wink' /></p>
<p>posted by peli</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634004038130000000</link>
		<pubDate>Fri, 29 Jan 2010 23:16:53 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634004038130000000</guid>
		<dc:creator>peli</dc:creator>
	</item>
	<item>
		<title>Re: Nikolai Tillmann: Moles - Replace any .NET method with a delegate</title>
		<description>
			<![CDATA[
<p>Nice! &nbsp;Now, if you could convince the C#/CLR guys to add this to the next release, so that the DLL generation was unnecessary...</p>
<p>&nbsp;</p>
<p>In other words, I would like it if you could change the syntax of that added line of code to something like:</p>
<p>&nbsp;</p>
<p><pre class="brush: csharp">override get DateTime.Now = () =&gt; new DateTime(2000, 1, 1);</pre></p>
<pre></pre>
<p>posted by bondsbw</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634004050460000000</link>
		<pubDate>Fri, 29 Jan 2010 23:37:26 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634004050460000000</guid>
		<dc:creator>bondsbw</dc:creator>
	</item>
	<item>
		<title>Re: Nikolai Tillmann: Moles - Replace any .NET method with a delegate</title>
		<description>
			<![CDATA[
<p>Very cool syntax indeed... but let's climb&nbsp;one mountain at a time <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /></p>
<p>posted by peli</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634004052750000000</link>
		<pubDate>Fri, 29 Jan 2010 23:41:15 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634004052750000000</guid>
		<dc:creator>peli</dc:creator>
	</item>
	<item>
		<title>Re: Nikolai Tillmann: Moles - Replace any .NET method with a delegate</title>
		<description>
			<![CDATA[
<p>Am I the only one where this seem wrong by calling this testing when you modify the code by inserting
</p>
<p>&nbsp;MDate.GetNow = () =&gt; New Date(2000,1,1)</p>
<p>&nbsp;</p>
<p>Or am I missing something. </p>
<p>&nbsp;</p>
<p>Idea add a attribute to the class,method etc, where within that scope the GET is intercepted and the test value is returned.</p>
<p>For Example:-</p>
<p>&lt;Test.InterceptGet(&quot;System.Date.Now&quot;,() =&gt; new Date(2010,4,1))&gt;</p>
<p>posted by AdamSpeight2008</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634004394780000000</link>
		<pubDate>Sat, 30 Jan 2010 09:11:18 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634004394780000000</guid>
		<dc:creator>AdamSpeight2008</dc:creator>
	</item>
	<item>
		<title>Re: Nikolai Tillmann: Moles - Replace any .NET method with a delegate</title>
		<description>
			<![CDATA[
<p>when we do testing we&nbsp;test a class at a time, so all external stuff is either stubbed or mocked so that you just test the functionality of the single class instead of doing system wide testing that are a nightmare to maintain. and if you test every single
 layer and it behaves as you expect while testing than everything should be&nbsp;good atleast from the code standpoint.</p>
<p>&nbsp;</p>
<p>I can see alot of places where we can use this while doing ASP.NET at least.</p>
<p>posted by NeZz_DK</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634004448870000000</link>
		<pubDate>Sat, 30 Jan 2010 10:41:27 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634004448870000000</guid>
		<dc:creator>NeZz_DK</dc:creator>
	</item>
	<item>
		<title>Re: Nikolai Tillmann: Moles - Replace any .NET method with a delegate</title>
		<description>
			<![CDATA[
<p>By isolating your tests for environment dependencies, you make&nbsp;your tests&nbsp;deterministic,&nbsp;fast and easier to setup. This is very important&nbsp;for unit testing.&nbsp;This Isolated tests do not replace integration tests: you still have to run your code in end-to-end
 scenarios. </p>
<p>&nbsp;</p>
<p>The attributes would not work for a number of reasons: you cannot declare delegates in attribute constructors. The string identifier is not verified by the compiler (in fact your example is wrong). Moles are strongly typed. In general, generics and all this
 good stuff would make it really hard to use any kind of attribute based solution.</p>
<p>&nbsp;</p>
<p>posted by peli</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634004600010000000</link>
		<pubDate>Sat, 30 Jan 2010 14:53:21 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634004600010000000</guid>
		<dc:creator>peli</dc:creator>
	</item>
	<item>
		<title>Re: Nikolai Tillmann: Moles - Replace any .NET method with a delegate</title>
		<description>
			<![CDATA[
<p>The new version of Pex (0.22) ships with an example of Moles for Asp.NET (HttpContext, HttpRequest). Unzip the samples.zip that the installer produces and look under \Behaviors\System.Web.Behaviors.</p>
<p>&nbsp;</p>
<p>posted by peli</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634004602020000000</link>
		<pubDate>Sat, 30 Jan 2010 14:56:42 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634004602020000000</guid>
		<dc:creator>peli</dc:creator>
	</item>
	<item>
		<title>Re: Nikolai Tillmann: Moles - Replace any .NET method with a delegate</title>
		<description>
			<![CDATA[
<p>That's why it was any Idea. <em>Implementing is the idea down to smarter brains than mine.</em></p>
<p>Maybe I should have explained in more detail</p>
<p>The idea was when the code is run in &quot;Test Mode&quot; the Test Engine recognises that that class has a Test attribute.</p>
<p>&nbsp;So read the string part &quot;System.Date,Now&quot; which is interpted to mean that that method is called for by the CLR I want to use the alternative version.</p>
<p>&nbsp;The alternative version is provided via a func ( The Lamba Expression )</p>
<p>&nbsp;</p>
<p>Shame about the attributes, having to be a constant expression, because its converted to metadata, I think having a func would be useful.</p>
<p>Imagine you have an AddressOf and point it a function contained in a test module.</p>
<p>posted by AdamSpeight2008</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634004634830000000</link>
		<pubDate>Sat, 30 Jan 2010 15:51:23 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634004634830000000</guid>
		<dc:creator>AdamSpeight2008</dc:creator>
	</item>
	<item>
		<title>Re: Nikolai Tillmann: Moles - Replace any .NET method with a delegate</title>
		<description>
			<![CDATA[
<p>One of the key barriers to useful unit testing has been solved.&nbsp; Fantastic work, it will be useful immediately.</p>
<p>posted by Richard.Hein</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634004670630000000</link>
		<pubDate>Sat, 30 Jan 2010 16:51:03 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634004670630000000</guid>
		<dc:creator>Richard.Hein</dc:creator>
	</item>
	<item>
		<title>Re: Nikolai Tillmann: Moles - Replace any .NET method with a delegate</title>
		<description>
			<![CDATA[
<p>The attributes won't work: AddressOf works for types not methods, even if it would, the attribute would sit in the project under test and could not refer to the test project (chiken and egg problem). In any case, things can become more intricate when you
 apply Moles to non-toy examples.</p>
<p>&nbsp;</p>
<p>That being said, your idea of being able to switch between a isolated test mode and an integration mode is good. This is something we want to provide in the future but still a big question mark on how we are going to implement it.</p>
<p>posted by peli</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634004682910000000</link>
		<pubDate>Sat, 30 Jan 2010 17:11:31 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634004682910000000</guid>
		<dc:creator>peli</dc:creator>
	</item>
	<item>
		<title>Re: Nikolai Tillmann: Moles - Replace any .NET method with a delegate</title>
		<description>
			<![CDATA[
<p>Great!</p>
<p>Looks like an inexpensive replacement for TypeMock which already is able to mock DateTime.Now.</p>
<p>&nbsp;</p>
<p>Question: This justs creates another implementation for DateTime.Now. If I have a function I want to test that uses DateTime.Now and DateTime.UtcNow as well, I need to mock both, right?</p>
<p>posted by voneinem</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634006210530000000</link>
		<pubDate>Mon, 01 Feb 2010 11:37:33 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634006210530000000</guid>
		<dc:creator>voneinem</dc:creator>
	</item>
	<item>
		<title>Re: Nikolai Tillmann: Moles - Replace any .NET method with a delegate</title>
		<description>
			<![CDATA[
<p>Instead of using Pex Moles, why not do it in a &quot;library-less&quot; way with something already built in?</p>
<p>&nbsp;</p>
<p><a href="http://ayende.com/Blog/archive/2008/07/07/Dealing-with-time-in-tests.aspx">http&#58;&#47;&#47;ayende.com&#47;Blog&#47;archive&#47;2008&#47;07&#47;07&#47;Dealing-with-time-in-tests.aspx</a></p>
<p>posted by robcube</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634006313730000000</link>
		<pubDate>Mon, 01 Feb 2010 14:29:33 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634006313730000000</guid>
		<dc:creator>robcube</dc:creator>
	</item>
	<item>
		<title>Re: Nikolai Tillmann: Moles - Replace any .NET method with a delegate</title>
		<description>
			<![CDATA[
<p>Yes, you will have to add a mole for UtcNow:</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp; var now = new DateTime(2000,1,1);</p>
<p>&nbsp;&nbsp;&nbsp; MDateTime.UtcNowGet = () =&gt; now;</p>
<p>&nbsp;&nbsp;&nbsp; MDateTime.NowGet =&nbsp;() =&gt; now.ToLocalTime();</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>posted by peli</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634006348650000000</link>
		<pubDate>Mon, 01 Feb 2010 15:27:45 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634006348650000000</guid>
		<dc:creator>peli</dc:creator>
	</item>
	<item>
		<title>Re: Nikolai Tillmann: Moles - Replace any .NET method with a delegate</title>
		<description>
			<![CDATA[
<p>If you have the opportunity of introducing an abstraction layer between the environment and the code (in your example, DateTime.Now is abstracted by a delegate), you should defintely do it. Moles is useful when you do not have a choice (for a number of reasons)
 and system under test has hared-coded dependencies.</p>
<p>&nbsp;</p>
<p>In both cases, the Pex parameter generation can be used to improve code coverage.</p>
<p>posted by peli</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634006349830000000</link>
		<pubDate>Mon, 01 Feb 2010 15:29:43 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634006349830000000</guid>
		<dc:creator>peli</dc:creator>
	</item>
	<item>
		<title>Re: Nikolai Tillmann: Moles - Replace any .NET method with a delegate</title>
		<description>
			<![CDATA[
<p>This is great stuff! Nothing more aggravating than having to pry a class loose from its dependencies on these kinds of things. Looking forward to trying this out with NUnit.</p>
<p>posted by dpurrington</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634007279140000000</link>
		<pubDate>Tue, 02 Feb 2010 17:18:34 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634007279140000000</guid>
		<dc:creator>dpurrington</dc:creator>
	</item>
	<item>
		<title>Re: Nikolai Tillmann: Moles - Replace any .NET method with a delegate</title>
		<description>
			<![CDATA[
<p>Nice, but have a look on F# Object Expressions. I already use&nbsp;F#&nbsp;in my Unit-Tests for mocking interfaces.</p>
<p>With Object Expression you could write something like :</p>
<p>&nbsp;</p>
<p><font face="Courier New" size="4" color="#0000ff"><font face="Courier New" size="4" color="#0000ff"><font face="Courier New" size="4" color="#0000ff"></p>
<p><pre class="brush: text">let obj1 = { new System.Object() with member x.ToString() = &quot;F#&quot; }</pre></p>
</font></font></font>
<p></p>
<p>or</p>
<p><font face="Courier New" size="4" color="#0000ff"><font face="Courier New" size="4" color="#0000ff"><font face="Courier New" size="4" color="#0000ff"></p>
<p><pre class="brush: text">let <font face="Courier New" size="4"><font face="Courier New" size="4">personComparer = {
</font></font><font face="Courier New" size="4" color="#0000ff"><font face="Courier New" size="4" color="#0000ff"><font face="Courier New" size="4" color="#0000ff">new</font></font></font><font face="Courier New" size="4"><font face="Courier New" size="4">
 IComparable&lt;Person&gt; </font></font><font face="Courier New" size="4" color="#0000ff"><font face="Courier New" size="4" color="#0000ff"><font face="Courier New" size="4" color="#0000ff">with</font></font></font><font face="Courier New" size="4"><font face="Courier New" size="4">
 </pre></font></font></p>
<p>&nbsp;</p>
</font></font></font>
<p></p>
<p></p>
<p>but you cannot&nbsp;write this, because DateTime is sealed.</p>
<p>&nbsp;</p>
<p><font face="Courier New" size="4" color="#0000ff"><font face="Courier New" size="4" color="#0000ff"><font face="Courier New" size="4" color="#0000ff"></p>
<p><pre class="brush: text">let <font face="Courier New" size="4"><font face="Courier New" size="4">now = {
</font></font><font face="Courier New" size="4" color="#0000ff"><font face="Courier New" size="4" color="#0000ff"><font face="Courier New" size="4" color="#0000ff">new</font></font></font><font face="Courier New" size="4"><font face="Courier New" size="4">
 System.DateTime() </font></font><font face="Courier New" size="4" color="#0000ff"><font face="Courier New" size="4" color="#0000ff"><font face="Courier New" size="4" color="#0000ff">with</font></font></font><font face="Courier New" size="4"><font face="Courier New" size="4">
</font></font><font face="Courier New" size="4" color="#0000ff"><font face="Courier New" size="4" color="#0000ff"><font face="Courier New" size="4" color="#0000ff">member</font></font></font><font face="Courier New" size="4"><font face="Courier New" size="4">
 x.Now() = </font></font><font face="Courier New" size="4" color="#0000ff"><font face="Courier New" size="4" color="#0000ff"><font face="Courier New" size="4" color="#0000ff">new</font></font></font><font face="Courier New" size="4"><font face="Courier New" size="4">
 DateTime(2000,1,1) }</pre></font></font></p>
</font></font></font>
<p></p>
<p>&nbsp;</p>
<p>Benny</p>
<p></p>
<p><pre class="brush: text">

<font face="Courier New" size="4">    <font color="#0000ff"><font color="#0000ff"><font color="#0000ff">member</font></font></font> this.Compare(a,b) =
</font>
<font face="Courier New" size="4" color="#0000ff"><font face="Courier New" size="4" color="#0000ff"><font face="Courier New" size="4" color="#0000ff">           if</font></font></font><font face="Courier New" size="4"><font face="Courier New" size="4"> a.First
 &gt; b.First </font></font><font face="Courier New" size="4" color="#0000ff"><font face="Courier New" size="4" color="#0000ff"><font face="Courier New" size="4" color="#0000ff">then</font></font></font><font face="Courier New" size="4"><font face="Courier New" size="4">
 1</font></font>
<font face="Courier New" size="4" color="#0000ff"><font face="Courier New" size="4" color="#0000ff"><font face="Courier New" size="4" color="#0000ff">           elif</font></font></font><font face="Courier New" size="4"><font face="Courier New" size="4">
 a.First = b.First </font></font><font face="Courier New" size="4" color="#0000ff"><font face="Courier New" size="4" color="#0000ff"><font face="Courier New" size="4" color="#0000ff">then</font></font></font><font face="Courier New" size="4"><font face="Courier New" size="4">
 0</font></font>

<font face="Courier New" size="4" color="#0000ff"><font face="Courier New" size="4" color="#0000ff"><font face="Courier New" size="4" color="#0000ff">           else</font></font></font><font face="Courier New" size="4"><font face="Courier New" size="4">
 0 }</pre></font></font></p>
<p>posted by BennyG</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634025220630000000</link>
		<pubDate>Tue, 23 Feb 2010 11:41:03 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634025220630000000</guid>
		<dc:creator>BennyG</dc:creator>
	</item>
	<item>
		<title>Re: Nikolai Tillmann: Moles - Replace any .NET method with a delegate</title>
		<description>
			<![CDATA[
<p>The point of Moles is to deal with hard mocking situations: sealed classes, static methods, non-virtual methods, etc...</p>
<p>posted by peli</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634025514300000000</link>
		<pubDate>Tue, 23 Feb 2010 19:50:30 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634025514300000000</guid>
		<dc:creator>peli</dc:creator>
	</item>
	<item>
		<title>Re: Nikolai Tillmann: Moles - Replace any .NET method with a delegate</title>
		<description>
			<![CDATA[
<p>Run that by Eric Lippert&nbsp; &lt;grin&gt;</p>
<p>posted by patelabhijeet</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634059981160000000</link>
		<pubDate>Sun, 04 Apr 2010 17:15:16 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634059981160000000</guid>
		<dc:creator>patelabhijeet</dc:creator>
	</item>
	<item>
		<title>Re: Nikolai Tillmann: Moles - Replace any .NET method with a delegate</title>
		<description>
			<![CDATA[
<p>Is there any way Moles could be used for a .NET 2 project. Looking at the download page it looks like you support VS2010 and VS2008. Can you use 2008 and target the .NET 2 framework and still use Moles?</p>
<p>&nbsp;</p>
<p>Thanks,</p>
<p>&nbsp;</p>
<p>John</p>
<p>posted by johnman</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634074396940000000</link>
		<pubDate>Wed, 21 Apr 2010 09:41:34 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634074396940000000</guid>
		<dc:creator>johnman</dc:creator>
	</item>
	<item>
		<title>Re: Nikolai Tillmann: Moles - Replace any .NET method with a delegate</title>
		<description>
			<![CDATA[
<p>Absolutely. We can also answer further questions at <a href="http://social.msdn.microsoft.com/Forums/en-US/pex/threads/">
http://social.msdn.microsoft.com/Forums/en-US/pex/threads/</a></p>
<p>posted by peli</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634074561310000000</link>
		<pubDate>Wed, 21 Apr 2010 14:15:31 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634074561310000000</guid>
		<dc:creator>peli</dc:creator>
	</item>
	<item>
		<title>Re: Nikolai Tillmann: Moles - Replace any .NET method with a delegate</title>
		<description>
			<![CDATA[
<p>The video is prompting for a username and password.&nbsp; Is it not available now?</p>
<p>&nbsp;</p>
<p>posted by gene.mangrum</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634104816250000000</link>
		<pubDate>Wed, 26 May 2010 14:40:25 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634104816250000000</guid>
		<dc:creator>gene.mangrum</dc:creator>
	</item>
	<item>
		<title>Re: Nikolai Tillmann: Moles - Replace any .NET method with a delegate</title>
		<description>
			<![CDATA[
<p>Must have been a temporary glitch, it's working for me now.</p>
<p>posted by peli</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634105296750000000</link>
		<pubDate>Thu, 27 May 2010 04:01:15 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634105296750000000</guid>
		<dc:creator>peli</dc:creator>
	</item>
	<item>
		<title>Re: Nikolai Tillmann: Moles - Replace any .NET method with a delegate</title>
		<description>
			<![CDATA[
<p>no offence ment but: video cam&nbsp;following somebody around is distracting, gives 0 additional insight&nbsp;and just&nbsp;occupies bandwidth</p>
<p>posted by CodeDigger</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634163509870000000</link>
		<pubDate>Mon, 02 Aug 2010 13:03:07 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634163509870000000</guid>
		<dc:creator>CodeDigger</dc:creator>
	</item>
	<item>
		<title>Re: Nikolai Tillmann: Moles - Replace any .NET method with a delegate</title>
		<description>
			<![CDATA[How can I use this with Silverlight?<p>posted by Colin</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634208707980000000</link>
		<pubDate>Thu, 23 Sep 2010 20:33:18 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634208707980000000</guid>
		<dc:creator>Colin</dc:creator>
	</item>
	<item>
		<title>Re: Nikolai Tillmann: Moles - Replace any .NET method with a delegate</title>
		<description>
			<![CDATA[Seconded... is there a plan to make this available for the Silverlight runtime?<p>posted by Ryan Morgan</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634227514200000000</link>
		<pubDate>Fri, 15 Oct 2010 14:57:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634227514200000000</guid>
		<dc:creator>Ryan Morgan</dc:creator>
	</item>
	<item>
		<title>Re: Nikolai Tillmann: Moles - Replace any .NET method with a delegate</title>
		<description>
			<![CDATA[Hello guys.<br />I was wondering if Pex and Moles is compatible with using Microsoft Unity. I am working on a sharepoint project now and we plan to use Microsoft Unity to give flexibility to the project. Still - I couldn't find much information about that, so I just wanted to ask here.<br />Cheers<p>posted by coderp</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634241953340000000</link>
		<pubDate>Mon, 01 Nov 2010 08:02:14 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634241953340000000</guid>
		<dc:creator>coderp</dc:creator>
	</item>
	<item>
		<title>Re: Nikolai Tillmann: Moles - Replace any .NET method with a delegate</title>
		<description>
			<![CDATA[ <p>Hi, i used moles and its working great for my project, but the only problem is i am using NUnit and my assembly have about 1000 unit tests and i just want to run only single tests then how can i do that. i have used moles addin for NUnit and still&nbsp;NUnit gives the error for instrumented process so i decided to execute test with moles.runner.exe console but it takes whole assembly and i just want to test a single test. any advice and suggestion will be helpful. thanks in advance</p><p>posted by DharmeshTailor</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634267288350000000</link>
		<pubDate>Tue, 30 Nov 2010 15:47:15 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634267288350000000</guid>
		<dc:creator>DharmeshTailor</dc:creator>
	</item>
	<item>
		<title>Re: Nikolai Tillmann: Moles - Replace any .NET method with a delegate</title>
		<description>
			<![CDATA[@AdamSpeight2008<br />I agree with you - it's a really cool tool, but this is a really poor test example.&nbsp;<br />That being said, I think the goal was to boil down to the essence of moles, and readers here can likely all imagine how it could be used for real.<p>posted by Dan</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634274116300000000</link>
		<pubDate>Wed, 08 Dec 2010 13:27:10 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Peli/Moles-Replace-any-NET-method-with-a-delegate#c634274116300000000</guid>
		<dc:creator>Dan</dc:creator>
	</item>
</channel>
</rss>