What′s New in dotCover

This page guides you through updates in recent dotCover versions. Highlights include more options for code coverage highlighting, continuous testing for a lot faster unit test feedback, support for Visual Studio 2017 and .NET Core.

Free 30-day trial
dotCover integrated into Rider

JetBrains Rider integration 2018.2

In addition to Visual Studio, now dotCover is a part of the JetBrains Rider IDE on Windows. In this release, there are two main features supported: code coverage analysis of unit tests and continuous testing.

To learn more, see Unit test coverage and continuous testing. Now in Rider!

Support for dotnet

Support for the dotnet console tool 2018.2

Now, dotCover command-line runner can be used as an extension to .NET command-line tools (dotnet.exe). For example, you can run coverage analysis of unit tests by running:
dotnet dotcover test

Moreover, the "classic" dotCover.exe console runner also gets improved. Now, you should not choose between the analyze and cover commands: always use cover. The coverage result will depend only on the --ReportType argument: if it is specified, you'll get a report of a certain type; if not, a regular coverage snapshot will be saved.

To learn more, see > dotnet dotсover test

Continuous testing in any session

Continuous testing in any session 2018.1

No more separate continuous testing session! Continuous testing mode can be turned on for any unit test session. In dotCover 2017.3 and earlier, your continuous testing scope was limited by a single continuous testing session. Now, you can have as many scopes for continuous testing as you need.

Moreover, in dotCover 2017.3, you had no alternatives on how tests were auto-started during continuous testing. After you build or save your solution, dotCover started tests under coverage. In 2018.1, coverage is no longer necessary: you can tell dotCover to simply run new and outdated tests (without covering them). This could be a great time saver if you already have an up-to-date coverage snapshot.

To learn more, see Better continuous testing and more!

Unit Test Coverage window

Unit Test Coverage window 2018.1

Coverage information is now shown in a separate Unit Test Coverage window instead of a per-session Coverage tab. The positive effect of this decision is the ability to see aggregated coverage data for all unit test sessions in one place.

To learn more, see Better continuous testing and more!

Improved console runner tool

Improved console runner tool 2018.1

dotCover console runner gets the ability to cover arbitrary managed processes and services (analyze-everything, analyze-service) and send the get coverage snapshot command to the running instance of the console tool. This dramatically eases getting coverage of web apps running on IIS/IIS Express.

To learn more, see Analyzing code coverage of web apps.

Support for .NET Core MSTest unit tests

Support for NUnit and xUnit in .NET Core 2017.3

Now, NUnit and xUnit unit tests targeting .NET Core are fully supported in the continuous testing mode.

Quick evaluation of coverage results

Quick evaluation of coverage results 2017.3

The "shield" icon in the right gutter of the Visual Studio editor allows you to quickly view total coverage percentage and the number of failed tests for code in the currently opened file. Clicking on the icon navigates you through the uncovered statements.

Improved 'Show Covering Tests'

Improved 'Show Covering Tests' 2017.3

Before 2017.3, after you used Show Covering Tests (Ctrl+Alt+K T) in the editor, the popup window showed you a list of covering tests but contained no info about what exact part of your code is covered by these tests: a class, a method, or a particular statement. Now, the popup tells this explicitly and even highlights covered statements in the editor.

Support for .NET Core MSTest unit tests

Support for .NET Core MSTest unit tests 2017.2

dotCover 2017.2 provides full coverage support for MSTest unit tests in projects targeting .NET Core, including:

  • Coverage and highlighting of test results,
  • Merging coverage data,
  • Showing tests that cover a particular location in code.
Code coverage improvements

Code coverage improvements 2017.2

dotCover 2017.2 introduces multiple improvements in terms of code coverage:

  • Improved performance. Before 2017.2, working with continuous testing on large solutions was a real pain: while test execution was fast, subsequent coverage analysis could take up to several minutes. The problem is addressed in dotCover 2017.2: due to a new snapshot format, dotCover can now process coverage results much faster.
  • Coverage results are now shown not only for specific tests, but also for test groups, projects, categories, etc.
  • When viewing coverage results of a particular unit test session, you can now merge them with coverage data from a snapshot.
Color-blind markers

Shaped markers (color-blind mode) 2017.2

dotCover's highlighting markers can now indicate coverage and test results not only with color but also with their shape.

Support for Visual Studio 2017

Visual Studio 2017 support 2017.1

dotCover 2017.1, along with other products of the ReSharper Ultimate family, can now be installed into Visual Studio 2017.

Colored background highlighting

Highlighting using colored background 2017.1

Old-style highlighting is back again and it's better than before!

Since the new highlighting style (using markers) may not be a good fit for all use cases, we've added an option to switch between markers and colored background or to display both. The old highlighting style also supports the updated logic and displays both tests coverage and test results.

Improved code coverage highlighting. Showing test results

Improved code coverage highlighting 2016.3

A new highlighting engine in dotCover 2016.3 reveals both coverage status and unit test status. A marker in the text editor shows red if any tests related to the current statement are failing, green if all tests are passing, and grey if there are no tests covering this statement.

Extremely helpful when used with continuous testing!

Free 30-day trial