Skip to content
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

Exclude auto properties and/or generated code for closures/linq #129

Open
martinmueller4voice opened this issue Oct 20, 2020 · 1 comment

Comments

@martinmueller4voice
Copy link

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
Copy link
Collaborator

ffMathy commented Oct 29, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants