Exclude auto properties and/or generated code for closures/linq
martinmueller4voice opened this issue · 1 comments
martinmueller4voice commented
Could you please add a way to exclude certain patterns from coverage?
For example, auto properties don't have to be covered to see if they work and automatically generated classes or methods from closures or linq queries pollute the instrumentation.
I think a rather simple regex filter could be sufficient (similar to what the .runsettings file provides for VS code coverage).
ffMathy commented
If this is done, it should be able to disable it.
Pruner (https://github.com/pruner/cli) needs as much coverage information as possible, even for simple auto properties.