Is There an Elegent Way to configure Exclusions?
See original GitHub issueHi there, Great tool - now coverage is possible on Linux!
The small annoying thing is to configure excluded files. Usually quote a lot of files/infrastrucutre boundaries should be excluded from unit tests - the list is quite large. Is there a better way to specify exclusion? Like OpenCover used special file for exclusion?
This is the what I have at the moment (long list…)
--exclude-sources '../src/**/Repositories/*.cs' --exclude-sources '../src/**/Swagger' --exclude-sources '../src/**/Data' --exclude-sources '../src/**/Startup.cs' --exclude-sources '../src/**/Program.cs' --exclude-sources <more exclusion here>
Thanks!
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
java - I need an elegant way to exclude specific words from ...
Not sure if it is elegant but here I created a simple solution to detect the language or remove noise words from tweets...
Read more >How to Set Windows Security Exclusions in Windows 11
To open Windows Security, double-click the app's shield icon within the system tray. You might need to click a Show hidden icons arrow...
Read more >How to set Exclusions on Client manually?
Our plan was to create one policy for all computers in a single client group and then add the needed exclusions to the...
Read more >Configure rule exclusions | Chronicle Security
Click the application menu apps and select Rules. Click the Exclusions tab. Click Create Exclusion to create a new exclusion. The Create Exclusion...
Read more >How to Configure Exclusions for Security Manager - AV ...
Customer Level > Configuration > Security Manager > Global Exclusions. AV Defender Profile > General Settings > Exclusions.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@AdrianCohea , sounds like a good plan. This is related: https://github.com/lucaslorentz/minicover/issues/68 Maybe it’s better to add support for any parameter already, not only file exclusions.
@lucaslorentz With respect, this is a huge need and it actively gets in the way of usage and creates defects because minicover doesn’t seem to understand that it should not be instrumenting tests by default.
I have a HUGE need for this feature and JSON is not a hard format as its natively supported by C#, why are you so against it?