I heard there is built-in tool in VS2010 for unit test for C#. I am using .Net 4.0 + C#. Any tutorial recommended for such built-in tool for a beginner? What is the pros and cons of such tool compared to NUnit?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here a links comparing MsTest and NUnit: http://weblogs.asp.net/rosherove/archive/2010/03/05/nunit-vs-mstest-nunit-wins-for-unit-testing.aspx
http://it-tutorials.us/software/2320.aspx
In terms of functionality, both provide comparable features, especially for a beginner. I think the biggest difference between the two tools is that one is free and one is not. MsTest is a commercial tool and is not usually included with all versions of Visual Studio. On the other hand, NUnit is free and can be used with any IDE. Another thing to consider is that almost all build servers have NUnit integration to not only run NUnit tests, but also process the generated XML reports.