JetBrains Rider 2020.1 Help

Unit Tests Coverage window

View | Tool Windows | Unit Tests Coverage

This window allows exploring coverage data obtained during unit tests coverage run. The window shows all code items from a coverage snapshot in a tree structure allowing you to inspect coverage of each item.

JetBrains Rider: Unit test coverage window

In the Coverage column, dotCover uses three colors to display the coverage status:

  • Green: the percentage of covered statements within the node.

  • Red: the percentage of uncovered statements within the node.

  • Grey: the nodes not covered during the test run as they do not have executable code statements.

Toolbar Controls

ControlNameDescription
ThemedIcon StatusAll Screen Gray pngAll Tests Show all tests in the current test session.
ThemedIcon Success Screen Gray pngPassed Tests Only show successful tests and hide all other tests.
ThemedIcon StatusFailedPassive Screen Gray pngFailed Tests Only show failed tests and hide all other tests.
ThemedIcon Ignore Screen Gray pngIgnored Tests Only show ignored tests and hide all other tests. A test is ignored if it has the corresponding attribute, or if the whole category where it belongs is ignored.
All Tests If selected, the tree shows aggregated coverage results from all unit test sessions.
All Tests in Active Session If selected, the tree shows coverage results for all unit tests from the session that is currently selected in the Unit Tests window.
Selected Tests in Active Session If selected, the tree shows coverage results for the test selected in the current session in the Unit Tests window.
Highlight codeHighlight code

Toggles highlighting of the code in the editor for the current coverage snapshot. For more information, see dotCover documentation.

Flatten NamespacesFlatten Namespaces

Toggles between flat and tree namespace representation. In the flat mode, all namespaces including child namespaces are shown in a flat list (on the same level).

icons.actions.menu-saveall.pngSave coverage snapshot as Saves the current snapshot to a .dcvr file. For more information, see https://www.jetbrains.com/help/dotcover/Saving_and_Loading_Coverage_Snapshot.html.
icon drop coverage results pngDrop coverage results

Removes the existing coverage results.

Last modified: 08 May 2020