dotCover Web Help

dotCover | Coverage Results Browser

This window allows exploring coverage snapshots obtained during a manual test session or opened from a file. You can browse multiple snapshots in several tabs.

In the Coverage column of the results browser, 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.

In the window toolbar, you will find the following controls:

ControlNameDescription
Total Coverage Shows total code coverage, in percents, of all assemblies included in the coverage snapshot.
Match coverage results with current project structure If this button is turned on, dotCover displays only assemblies that are included in the current solution. For more information, see Matching Coverage Snapshot with Project Structure.
Highlight code Switches highlighting of the code in the editor for the current coverage snapshot. For more information, see Visualizing Code Coverage.

 Note

If there are several snapshots that cover the same code, the highlighting shows results either of the last test session's snapshot or of the snapshot for which you last turned on the highlighting.

Save coverage snapshot as Saves the current snapshot to a .dcvr file. For more information, see Saving and Loading Coverage Snapshot.
Export coverage reports Allows you to export the test coverage report to one of the selected formats: HTML, XML, JSON, and XML for NDepend. For more information, see Exporting Coverage Results

Group by

Groups code symbols using four alternative sets of criteria.

Close

Closes the current tab.

The context menu in this window includes two commands:

  • Exclude selected nodes
  • Exclude all nodes except selected
These commands are rather self-explanatory; they allow excluding nodes from coverage snapshot.

See Also

Concepts

Procedures

Reference