Contents tagged with Code Coverage
-
Testing With NCover/NCoverExplorer
The following screencast demonstrates how to achieve 100% coverage using TestDriven.NET 2.0, NCover and NCoverExplorer. Peter Waldschmidt and Grant Drake very kindly agreed to let me distribute NCover and NCoverExplorer with the RTM version of TestDriven.NET 2.0. This means that once TestDriven.NET is installed, there is nothing more to configure. Code coverage with NCover can be used from Visual Studio .NET 2002, 2003 or 2005. It is possible to use NCover if only .NET 1.1 is installed, however .NET 2.0 is recommended. If only .NET 1.1 is installed then NCover 1.3.3 will be used rather than the more mature NCover 1.5.6.
-
Driving MSTest and Team Coverage using TestDriven.NET
Here is a screencast that demonstrates the MSTest and Team Coverage integration in TestDriven.NET 2.0. The testing support that comes with Visual Studio 2005 Team editions was designed to support many different types of test. For example is supports manual tests, integration tests, generic tests as well as unit tests. The interface for TestDriven.NET is tuned specifically for doing unit testing and test driven development. By combining the two you can execute unit tests written using Microsoft's framework in a way that is more efficient for doing TDD.
-
CoverageExclude
Eric Sink recently wrote an article, advocating the use of code coverage. In the article Eric writes about a hobby project of his where he has managed to achieve 100% code coverage. The following may be of interest to anyone who finds themselves driven towards such ridiculous levels of coverage. ;)
-
NCoverExplorer... v1.3.4
Syndicated from Kiwidude's Geek Spot
-
Code Coverage Tips
I thought I'd share a couple of code coverage FAQs.