Coverage Results Filters
dotCover applies these filters to coverage results after a coverage session is over. Use these filters to:
Exclude an entire file from the Unit Test Coverage. For example, this may be helpful if you want to exclude some auto-generated files (that is, classes and methods declared in these files) from the results.
Exclude a node (namespace, class, class member) from coverage results
Select a node and in the context menu choose:
Exclude from Coverage Results to exclude the node from the current results.
Exclude and Create Runtime Coverage Filter to exclude the node from the results and create a corresponding runtime filter that will prevent collecting coverage data for this node in future coverage sessions.
Exclude All But This to leave only the selected node in the coverage tree.
Show the excluded nodes back
Exclude a file from coverage results
Open filtering settings using the main menu.
Find the Exclude file masks list.
Click Add to add a new exclude filter. Note that filters support
**wildcards. For example, to exclude all .cs files that have
NUnitin their path and end with