How to use filters (For standalone .exe files)for coverage using command line?

Answered
0
1 comment

You could specify filters using command line parameter /Filters:

/Filters=ARG : (Optional) Specifies coverage filters using the following syntax: +:module=*;class=*;function=*;
Use -:myassembly to exclude an assembly from code coverage. Asterisk wildcard (*) is supported here

or in the <Filters> section of the configuration XML file.

More info is in this help article: https://www.jetbrains.com/help/dotcover/2016.3/dotCover__Console_Runner_Commands.html

0

Please sign in to leave a comment.