Why Coverlet use custom attribute ExcludeFromCoverage instead of ExcludeFromCodeCoverage
See original GitHub issueHi guys!
Why Coverlet use the custom attribute ExcludeFromCoverage
from its own namespace instead of using already exists in .NET Core attribute ExcludeFromCodeCoverage
from namespace System.Diagnostics.CodeAnalysis
?
To Coverlet ignore any class, I need to install the nuget package coverlet.msbuild
in all projects with tests, right?
Issue Analytics
- State:
- Created 5 years ago
- Comments:9
Top Results From Across the Web
Why Coverlet use custom attribute ExcludeFromCoverage ...
Hi guys! Why Coverlet use the custom attribute ExcludeFromCoverage from its own namespace instead of using already exists in .
Read more >How to exclude method in coverlet coverage report?
Excluding entire namespaces in .runsettings works as expected but using [ExcludeFromCodeCoverage] attribute excludes the entire file instead ...
Read more >C# ExcludeFromCodeCoverage on method scope not ...
I had found that issue but since we do not use coverlet and the excludefromcodecoverage attribute docs say that it works on method...
Read more >Customizing Code Coverage Analysis - Visual Studio
Learn how to use the ExcludeFromCodeCoverageAttribute attribute to exclude test code from coverage results. You can include assemblies ...
Read more >ExcludeFromCodeCoverageAttri...
Placing this attribute on a class or a structure excludes all the members of that class or structure from the collection of code...
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
Now available in https://www.nuget.org/packages/coverlet.msbuild/2.0.1
Is there any reason to not support
ExcludeFromCodeCoverage
as well? That would make it easier to transition to Coverlet from other products.