Excluding Assemblies
See original GitHub issueWhen I used coverlet to analyze code coverage, I got this:
| Module | Coverage |
|----------------------------|----------|
| EditorConfigGenerator.Core | 97.5% |
| NUnit3.TestAdapter | 30.7% |
I don’t want NUnit3.TestAdapter to show up. But I don’t own this code, so I can’t put attributes on their classes or exclude code files from then as I don’t have that either.
Is there a way to say only include specific assemblies during analysis, or exclude certain ones? Either way would work (though I’d prefer the former as I don’t have to keep blacklisting any that may show up in the future).
Issue Analytics
- State:
- Created 5 years ago
- Comments:6
Top Results From Across the Web
How can I force exclusion of certain assemblies from Code ...
I'm trying to restrict the assemblies that get analyzed in the Code Coverage procedure in TFS by using a runsettings file, but some...
Read more >Customizing Code Coverage Analysis - Visual Studio
You can include or exclude assemblies or specific types and members from code coverage analysis. If the Include section is empty or omitted, ......
Read more >Including and Excluding Assemblies from Code Coverage
What I want to do is exclude the test assemblies from the coverage numbers, but the ExcludeFromCodeCoverageAttribute can't be applied to entire ...
Read more >Excluding assemblies from coverage
Hi NCover,. I have attempted to exclude assemblies from coverage, but they are still included. As they contain my unit tests they are...
Read more >How to exclude test assemblies · Issue #1179 · coverlet- ...
In any case, I tried to exclude test assemblies by setting the IncludeTestAssembly flag to false but some test assemblies still appear in ......
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
Is there a way to accomplish this without having to manually include/exclude assemblies? Coverlet should exclude references by default IMO.
@MarcoRossignoli I think it is more cleaner result if we can exclude local references as default instead of using exclude. usually we have separated tests and coverage for local references projects.