JetBrains dotCover

Unit test runner. Code coverage.

dotCover is a unit test runner and code coverage tool that helps .NET developers make sure that every line of code is covered.

Unit test runner. Code coverage.

dotCover Features

Running and managing unit tests.
Unit Test Runner
.NET code coverage analysis.
Code Coverage
Continuous coverage analysis.
Continuous Coverage
Filtering and excluding nodes from coverage results.
Node Filter
dotCover highlights coverage data right in Visual Studio.
Highlighting
Offers multiple report formats.
Reporting
dotCover is quick to integrate with Visual Studio 2012.
Visual Studio 2012
Running and managing unit tests.

Running and managing unit tests.

dotCover comes bundled with a unit test runner that it shares with another JetBrains .NET developer tool, ReSharper. The runner works in Visual Studio, allows managing unit tests through sessions, and supports multiple unit testing frameworks: MSTest, NUnit, xUnit, and MSpec.

.NET code coverage analysis.

.NET code coverage analysis.

dotCover calculates and reports statement-level code coverage in .NET Framework 1.0 to 4.5 applications, as well as in Silverlight 4 and 5. dotCover makes sure that developers know to what extent their code is covered with unit tests. It also helps QA engineers test software products as thoroughly as possible. Currently dotCover integrates into four versions of the IDE: Visual Studio 2005, 2008, 2010, and 2012.

Continuous coverage analysis.

Continuous coverage analysis.

dotCover is a great fit with Continuous Integration servers, most prominently JetBrains' own product, TeamCity. Via the TeamCity add-in to Visual Studio, dotCover is able to obtain coverage data from a TeamCity server, without running coverage analysis on a local machine. The dotCover coverage analysis engine is also bundled with a free version of TeamCity, which helps schedule coverage runs as part of a Continuous Integration process and generates server-side coverage reports.

Filtering and excluding nodes from coverage results.

Filtering and excluding nodes from coverage results.

Sometimes, you don't want to know coverage data solution-wide. For example, you may not be interested in coverage statistics for code marked with ObsoleteAttribute or a specific legacy project. In this case you can set global or solution-specific coverage filters based on project, namespace, type, or type member names. Attribute filters are also available that restrict gathering coverage information to code marked (or not marked) with certain attributes. Alternatively, if you already have coverage data collected, you can choose to exclude a specific node from the coverage tree. As soon as you do this, dotCover will instantly recalculate coverage statistics.

dotCover highlights coverage data right in Visual Studio.

dotCover highlights coverage data right in Visual Studio.

To visualize coverage data, dotCover can highlight covered and uncovered lines of code in the Visual Studio code editor. Specific colors that dotCover uses for this highlighting can be configured to match your preferences.

Offers multiple report formats.

Offers multiple report formats.

dotCover helps process coverage data the way you need. Exporting to several formats, including HTML, XML, JSON, and XML for NDepend enables you to share coverage reports with the rest of the team or pass coverage information to external services.

dotCover is quick to integrate with Visual Studio 2012.

dotCover is quick to integrate with Visual Studio 2012.

Starting from version 2.0 dotCover supports Visual Studio 2012. This includes not only the ability to run and get coverage results in Visual Studio 2012, but also dotCover supports Light and Dark themes with new icons and menus.