{"id":170392,"date":"2010-01-25T15:55:21","date_gmt":"2010-01-25T15:55:21","guid":{"rendered":"https:\/\/www.microsoft.com\/en-us\/research\/project\/moles-isolation-framework-for-net\/"},"modified":"2017-05-31T15:38:32","modified_gmt":"2017-05-31T22:38:32","slug":"moles-isolation-framework-for-net","status":"publish","type":"msr-project","link":"https:\/\/www.microsoft.com\/en-us\/research\/project\/moles-isolation-framework-for-net\/","title":{"rendered":"Moles – Isolation framework for .NET"},"content":{"rendered":"

Moles allows to replace any .NET method with a delegate. Moles supports static or non-virtual methods. Moles works well with Pex.<\/p>\n

\n

The Fakes Framework in Visual Studio\u00a02012 is the next generation of Moles & Stubs.<\/b> (opens in new tab)<\/span><\/a> Fakes is different from Moles, however, so moving from Moles to Fakes will require some modifications to your code. The Moles framework\u00a0will\u00a0not be supported in Visual Studio 2012.<\/p>\n