-
Notifications
You must be signed in to change notification settings - Fork 389
Add [xunit*]*
to default excluded modules filter
#461
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
Comments
[xunit*]*
default to exclude module filter[xunit*]*
to default excluded modules filter
I agree with |
Is it an immutable list or a default? If I specify exclude filters in config, does it replace or augment what's in code? |
If we add to constants we can only augment filter. |
I think that's fair -- The constants/defaults can be documented, but if people want to specify their own, they shouldn't expect a union of config and code, I'd think |
@vagisha-nidhi @tonerdo thoughts?If we reach an agreement I could create a PR, we should add to core lib to have same behaviour with tool/msbuild. |
@MarcoRossignoli |
It's a question or a statement? |
Statement. We should not rely on user to add this since it is known that dotnet vstest won't work without the filter |
Yup we keep our module in default exclusion filters. |
Then we are okay with this change. |
@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 |
@MarcoRossignoli This works great! |
@MarcoRossignoli will take a look at the PRs and work on getting them merged in today |
@vagisha-nidhi's comment
Also, I have been trying out things with xunit/nunit and I found this #361 (comment). 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?cc: @cltshivash @tonerdo @onovotny
The text was updated successfully, but these errors were encountered: