Type of issue
Typo
Description
The console command should be one line instead of multiple lines if expected to be run in Powershell console for reportgenerator.
reportgenerator
-reports:"Path\To\TestProject\TestResults\{guid}\coverage.cobertura.xml"
-targetdir:"coveragereport"
-reporttypes:Html
reportgenerator -reports:"Path\To\TestProject\TestResults\{guid}\coverage.cobertura.xml" -targetdir:"coveragereport" -reporttypes:Html
Suggestion for additional combination of all reports when run with:
dotnet test --collect:"XPlat Code Coverage" --results-directory:"./TestResults" /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura
reportgenerator -reports:".\TestResults\**\coverage.cobertura.xml" -targetdir:"coveragereport" -reporttypes:Html
Page URL
https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-code-coverage?tabs=windows
Content source URL
https://github.com/dotnet/docs/blob/main/docs/core/testing/unit-testing-code-coverage.md
Document Version Independent Id
ab6ce421-f5e5-94f1-e707-32763b3a6a24
Platform Id
c4fee4a9-6f2b-131d-94db-041bd4940d7e
Article author
@IEvangelist
Metadata
- ID: 588a6d72-f70f-15f8-7505-5db491c8a8c6
- PlatformId: c4fee4a9-6f2b-131d-94db-041bd4940d7e
- Service: dotnet-fundamentals
Related Issues
Type of issue
Typo
Description
The console command should be one line instead of multiple lines if expected to be run in
Powershellconsole forreportgenerator.Suggestion for additional combination of all reports when run with:
Page URL
https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-code-coverage?tabs=windows
Content source URL
https://github.com/dotnet/docs/blob/main/docs/core/testing/unit-testing-code-coverage.md
Document Version Independent Id
ab6ce421-f5e5-94f1-e707-32763b3a6a24
Platform Id
c4fee4a9-6f2b-131d-94db-041bd4940d7e
Article author
@IEvangelist
Metadata
Related Issues