-
I'm following this guide https://xunit.net/docs/getting-started/v3/code-coverage-with-mtp to obtain code coverage output / reports. This utilizes Microsoft.Testing.Extensions.CodeCoverage. The generated reports don't seem to contain Branch coverage. You can see this in the screenshots of the post. Is there a way to get branch coverage? Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
fhnaseer
Apr 30, 2025
Replies: 1 comment 1 reply
-
Branch coverage is present only in cobertura format. You need to specify
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Evangelink
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Branch coverage is present only in cobertura format. You need to specify
cobertura
as--coverage-output-format
command line argument to generate a cobertura report. To do so please run this command