What is the best unit testing framework for ASP.NET (C# .NET 3.5)?
I would like to have information on the avai开发者_StackOverflow社区lable unit testing frameworks in .NET realm. Especially the ones which are suitable for ASP.NET (C# .NET 3.5).
Your comments and suggestions would be much appreciated.
It depends on how you define "Best". There are various elements that a unit testing framework need to support and the choice generally lies in developer friendlyness.. I used NUnit/MSTest both in past and I like NUnit because it not only supports various mocking frameworks like NMock, RhinoMock, MoQ etc.. it also makes the life easier where you can directly run the unit tests from NUnit UI without opening the VS interface.
If you are using VS2008, then also you can use MSTest or NUnit....
Visual Studios 2010 has a unit testing feature set with all kinds of fancy stuff.
See this discussion I have great experience with a NUnit+RhinoMocks+Resharper combo.
精彩评论