-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Excluded Files listed in coverage report #91
Comments
I'm not sure what you mean by "the files with these attributes". Which files would those be? If a type or method is excluded by attribute (or by name), then there will be an empty entry, with a If you want to strip the
|
Sorry for the delay in replying but I got diverted onto another project. I'm sorry but I confused my repository classes and their interfaces. The interfaces are being reported in the code coverage but greyed out. I was hoping to remove them from the report. Having realised my mistake I tried adding -f I*.cs but that resulted in no code coverage at all. Any advice would be welcome. |
In my project, it's the interfaces that are showing up greyed out, not classes. The exclude filters seem to be doing their job (the repository classes have gone). However their interfaces remain. |
OK, I'm on that, now the requirements are firm. |
I'm sorry that I've been so unclear. |
Could you give the 7.1.782 release a go? |
That's perfect. Thanks very much. |
I'm currently instrumenting my code using:
AltCover.exe -a ExcludeFromCodeCoverageAttribute ......
While this excludes all the marked code from the coverage statistics, the files with these attributes are included in the report making it more cluttered than I would like.
Am I missing an option somewhere that would remove files with no coverable lines?
The text was updated successfully, but these errors were encountered: