Free Unit Test Framework and Code Coverage for Visual Studio.NET - TestDriven.NET and Code Coverage via NCover

Jamie Cansdale is making TestDriven.NET one sweet Visual Studio Add-In for those interested in unit testing and code coverage.

If you are unfamiliar with TestDriven.NET here is the official description on the website:

“TestDriven.NET makes it easy to run unit tests with a single click, anywhere in your Visual Studio solutions. It supports all versions of Microsoft Visual Studio .NET meaning you don't have to worry about compatibility issues and fully integrates with all major unit testing frameworks including NUnit, MbUnit, & MS Team System.”

Recently, Jamie added hooks into the code coverage that comes with Visual Studio Team Editions for Developer and Tester.  However, if you don't have those, it now works with NCover, which is an open source solution for code coverage for .NET.  Here is the official description of NCover from the website:

“NCover provides statistics about your code, telling you how many times each line of code was executed during a particular run of the application.  The most common use of code coverage analysis is to provide a measurement of how thoroughly your unit tests exercise your code.  After running your unit tests under NCover, you can easily pinpoint sections of code that are poorly covered and write unit tests for those portions.  Code coverage measurement is a vital part of a healthy build environment.”

What does all this mean?

This means you get the benefits of a several kick butt unit testing frameworks and code coverage using TestDriven.NET without having to purchase Team Edition for Developers or Team Edition for Testers.  Kudos to Jamie for making this happen.

Learn more.

Source: David Hayden ( Florida .NET Developer )

 

posted on Monday, January 30, 2006 8:18 PM

Main

News

Green Tea

.NET Development

Enterprise Library

Patterns & Practices