Skip to content

Question - Branch Coverage and supported 'dotnet-coverage collect' formats (xml vs. cobertura)? #147

@pmehradnia

Description

@pmehradnia

dotnet-coverage collect has the following three format options (with "--output-format"):

  • coverage
  • xml
  • cobertura

From some testing, it appears that Branch Coverage* is only produced with the cobertura option (not xml). Is there an option to enable Branch Coverage for the xml format, or is it exclusive to cobertura format?

Thanks in advance.


*Note: For reference, example file showing branch coverage data (from ~\codecoverage\samples\Algorithms\scenarios\scenario01\example.report.cobertura.xml)

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions