Skip to content

Coverage file default location #44449

Open
@aelij

Description

Type of issue

Missing information

Description

The article specifies that we can use the --coverage-output parameter to specify where the output is saved, but doesn't say that if unspecified, the file name will be under --results-directory with a random (GUID) file name and a default extension according to the --coverage-output-format parameter (.coverage, .xml and .cobertura.xml, respectively).

Additionally, it doesn't say the default format is 'coverage'.

Page URL

https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-platform-extensions-code-coverage

Content source URL

https://github.com/dotnet/docs/blob/main/docs/core/testing/unit-testing-platform-extensions-code-coverage.md

Document Version Independent Id

2a4c1d53-73c0-8532-3903-59f78e09c784

Article author

@Evangelink

Metadata

  • ID: b7d643d0-0a87-627d-58ae-aeac2facce45
  • Service: dotnet-fundamentals

Related Issues

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions