-
Notifications
You must be signed in to change notification settings - Fork 386
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
Adding a Filter property to include/exclude assemblies/types #77
Comments
I'll keep proposal updated with our discussion! |
I intend to look into this over the weekend |
I'm thinking maybe we could have also an If you are not convinced i could take some time and try an "explorative PR". @tonerdo again thank's a lot for PR! |
#94 merged in an released https://www.nuget.org/packages/coverlet.msbuild/2.0.0. Thanks for your patience guys |
Rationale
Coverlet currently allow to ignore methods/classes using attribute or specific source files using /p:Exclude property.
It would be useful filter(include/exclude) assembly/types in a "similar" way of popular OpenCovers framework.
Proposal
Some examples
To Include assembly but exclude all classes of particular namespace.
To include only one class
To include all classes ends with "ClassNameSuffix" of AssemblyName
Details
Filters can be inclusive and exclusive represented by + and – prefix respectively, where exclusive (-) filters take precedence over inclusive (+) filters.
Assembly here is like a module, 99.9% we have a single file assembly.
Open Questions
/Include=[*]*
, does it make sense?cc: @tonerdo @abe545 @ido-namely @ryanmvt @coenm @mathnogueira
The text was updated successfully, but these errors were encountered: