Add `[xunit*]*` to default excluded modules filter
See original GitHub issue@vagisha-nidhi’s comment
Also, I have been trying out things with xunit/nunit and I found this https://github.com/tonerdo/coverlet/issues/361#issuecomment-470044541. This would be a bad experience for any first user, if a test run crashes with --collect:“Xplat code coverage”.
Should we add [xunit*]*
to default exclude filter here https://github.com/tonerdo/coverlet/blob/master/src/coverlet.collector/Utilities/CoverletConstants.cs#L21?
Issue Analytics
- State:
- Created 4 years ago
- Comments:15 (6 by maintainers)
Top Results From Across the Web
Add `[xunit*]*` to default excluded modules filter · Issue #461
If for some reason someone need to instrument a lib included in that filters? Is it too much coarse filter? I mean if...
Read more >How to exclude xunit test assemblies from Jetbrains ...
Having no filters results in the following xml in the logs ... Adding in the line /Filters=-:module=MyAssembly.Web.Tests changes the xml to ...
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 >Coverage Analysis from the Command Line - dotCover
To exclude/include items from the coverage analysis, you should run the console runner with the /Filters parameter. For example (for simplicity, ...
Read more >Excluding Files and Folders
You can specify files or directories that you'd like to exclude from your analysis using in-app configuration, or using the
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
@vagisha-nidhi you can test with nightly if you want https://www.myget.org/feed/coverlet-dev/package/nuget/coverlet.collector/1.0.33-g66a0119867 FYI consume nightly instructions https://github.com/tonerdo/coverlet/blob/fe775360460a6855e0492b28cb41a2b5f2d9b0d3/Documentation/ConsumeNightlyBuild.md
@onovotny at the moment we exclude by default test assembly, added back in https://github.com/tonerdo/coverlet/pull/376 after some discussions, @sharwell has got a different point of view 😄