Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the best unit testing framework for ASP.NET (C# .NET 3.5)?

I would like to have information on the available 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.

like image 687
Thurein Avatar asked Nov 29 '25 22:11

Thurein


2 Answers

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....

like image 166
sajoshi Avatar answered Dec 01 '25 13:12

sajoshi


Visual Studios 2010 has a unit testing feature set with all kinds of fancy stuff.

like image 24
user623879 Avatar answered Dec 01 '25 12:12

user623879



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!