I am using C# + .Net 4.0 + VSTS 2010. I am wondering whether Nunit is the best and easy to learn unit test tool for this platform (C# + .Net 4.0 + VSTS 2010)? If yes, I want to learn basics of Nunit, and also want to find how to generate code coverage report based on Nunit result (e.g. code coverage report to show which function is tested, which function is not tested, how many lines are tested.)
Any recommended tutorials for Nunit and code coverage for a newbie?
I sent this tutorial on NUnit for beginners to some juniors I work with
http://www.dotnetspider.com/tutorials/NUnit-Tutorials.aspx
also coverage is something I wouldn't quite worry about for now until you get to grips with unit testing. There are more things involved in unit testing like dependency injection and mocking frameworks to make sure that code gets covered and is testable.
personally id work on integration and unit testing first and then move in coverage - just my 2 cents
hope it helps
paul