Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
I am working on a project where I have to use the testing tools that are built in to Visual Studio. I'm looking for a tutorial on using the unit testing tools in VS2010. I would like to see sample solution(s) that demonstrate various kinds of unit tests in C# using best practices. I know that there are a number of books and web sources on unit testing, but they don't use the Visual Studio tools for writing their unit tests. I don't want extreemly simplistic "this is how you write a unit test" examples such as can be found here[^]. I am looking to move to the next level of unit-testing and I can't find advanced examples of unit testing that use Visual Studio 2010 unit testing tools or even VS 2008.
Posted

The closest thing that I have found so far is the Enterprise Library; although it is not written as a unit test tutorial it does have a large number of unit tests and code written using best practices.
 
Share this answer
 
You could get your answer using following thread
Forum[^]

Thanks
Hiren Solanki
 
Share this answer
 
Comments
MatthewRyan 6-Sep-10 10:10am    
Reason for my vote of 2
semi helpful
BillW33 13-Sep-10 10:17am    
Sorry, no. A similar question has been asked on that forum, but with no acceptable answer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900