How to disable coverage metrics in console and only output to file. #1346
-
Hi, I am using the following nuget package versions:
I am trying to figure out how to disable cover metrics in the console when I run dotnet test but still output the file. The reason why I am trying to do this is to reduce the information that is being captured on the console when we run Test/Coverage on GitHub Actions. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You should not use both coverage package. You should or coverlet or Microsoft.CodeCoverage they're doing the same thing and by design |
Beta Was this translation helpful? Give feedback.
You should not use both coverage package. You should or coverlet or Microsoft.CodeCoverage they're doing the same thing and by design
dotnet test
doesn't collect coverage.Can you open a ticket here https://github.com/microsoft/vstest/issues it's unrelated to coverlet.