I am new to unit-tests. I am about to start working on a big project using C#, VS2010. I was wondering if its a good idea to use test-framework that comes with VS2010, or should I look for third party frameworks.
Thanks
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.
If the reset of the organization you’re in is using MSTest, that’s a good reason to use it. If you are doing this on your own, that reasoning is irrelevant.
For third-party frameworks, nUnit works well with VS2010, and it’s easy to find information on how to use it. It’s the only one I’ve used, since my previous employer didn’t pony up for the MS Test licensing.
The key to using unit test frameworks is learning how to write good tests, not necessarily what tool you use.
For a good overview that uses .NET, I’d recommend Roy Osherove’s book, http://www.manning.com/osherove/
Good luck!