A few month ago 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 for agile development.
[Updated for Moq v4 syntax] I got this question a couple times in the past MIX08 at Las Vegas. And this is a very valid question indeed, given that there’s already Rhino , EasyMock , TypeMock and NMock (to name a few).
The Fakes Framework in Visual Studio 2012 is the next generation of Moles & Stubs. Fakes is different from Moles, however, so moving from Moles to Fakes will require some modifications to your code.