views:

697

answers:

4

Which is the best mocking library for C# 3.0/ ASP.NET MVC? Why?

+2  A: 

Moq

It's amazing, fully supports the new language features of C# 3.0 and it's very easy to get going with. I would highly recommend it.

Code Monkey
+3  A: 

Very subjective question. What do you mean by "best"? Maybe you should provide some more context on your situation.

RhinoMocks is one of the most popular, as to whether it's the best for you, who knows?

Ash
A: 

I'm going through that process now, weighing them up for use by my team, and I have to say Moq as well, it seems to have the least of a learning curve, and some nice features, I love the use of Moq generics to specify a Mock class

johnc
A: 

there's also this other post about this topic:

Best mock framework that can do both WebForms and MVC?

Code Monkey