dotCover Web Help

When the coverage snapshot is created, you can exclude a specific node from the coverage tree. As soon as you do this, dotCover will instantly recalculate coverage statistics.

To exclude nodes from coverage snapshot
  1. Expand a coverage snapshot in the Coverage Results Browser or in the Coverage area of the Unit Test Sessions window .
  2. Right-click on a node and choose Exclude selected node or Exclude all nodes except selected.
  3. The corresponding nodes will be excluded from the coverage tree and the total coverage will be recalculated.
  4. When some nodes are excluded, the corresponding warning appears above the coverage tree. You can click Show all nodes to display the excluded nodes.

 Tip

If you want to exclude some items from coverage analysis before the coverage is calculated, you can set up coverage filters.

See Also

Concepts

Procedures

Reference