-
Notifications
You must be signed in to change notification settings - Fork 388
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
AutoGeneratedProgram included into coverage #604
Comments
yep you can exclude types using filter https://github.com/tonerdo/coverlet/blob/master/Documentation/MSBuildIntegration.md#attributes I think that in your case you can use Or you can skip source file name Or type To check filters and exlusion try to enable msbuild logs and check https://github.com/tonerdo/coverlet/blob/master/Documentation/Troubleshooting.md#msbuild-integration |
Nice! Thanks a lot. |
I've included the test project itself into code coverage via
/p:IncludeTestAssembly=true
, but there is strange file generatedAutoGeneratedProgram
and it breaks the real coverage results.Here is how it looks in the report:
Here are the datails:
The question is: how could I avoid that?
Thanks.
The text was updated successfully, but these errors were encountered: