Excluding files or classes

May 14, 2014 at 6:24 PM
It is possible to exclude some files or classes from code coverage analysis? I've tried to exclude some .cs files using the sonar.exclude property on Sonar unsuccessfully.

I hope that somebody could help me on this.

Tks in advance
Greg
Coordinator
May 15, 2014 at 10:52 AM
OpenCover has the ability to exclude files see the wiki - https://github.com/OpenCover/opencover/wiki/Usage

I don't know if this has been exposed via sonar (I am not involved with that integration) so you may want to take it up with the Sonar/Gallio guys
Marked as answer by GrigorioJunior on 5/15/2014 at 4:18 AM
May 15, 2014 at 11:18 AM
Thanks for your help, do you have the Sonar/Gallio team contact?
Coordinator
May 15, 2014 at 11:21 AM