From b0fecba18fec3af3e1031fb009f4f88adebae33c Mon Sep 17 00:00:00 2001 From: surya pratap singh Date: Thu, 17 Sep 2026 01:24:38 +0530 Subject: [PATCH 1/3] fix: make ReportGenerator PowerShell example one line --- docs/core/testing/unit-testing-code-coverage.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/docs/core/testing/unit-testing-code-coverage.md b/docs/core/testing/unit-testing-code-coverage.md index 5a6371afd46f7..fbb3c1f1b00f7 100644 --- a/docs/core/testing/unit-testing-code-coverage.md +++ b/docs/core/testing/unit-testing-code-coverage.md @@ -283,10 +283,7 @@ dotnet tool install -g dotnet-reportgenerator-globaltool Run the tool and provide the desired options, given the output *coverage.cobertura.xml* file from the previous test run. ```console -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 ``` After running this command, an HTML file represents the generated report. @@ -307,5 +304,4 @@ After running this command, an HTML file represents the generated report. ## Next Steps -> [!div class="nextstepaction"] -> [Unit testing best practices](unit-testing-best-practices.md) +... \ No newline at end of file From b4d7728e6b21b8259a75a2b4d86237257688ffd3 Mon Sep 17 00:00:00 2001 From: surya pratap singh Date: Thu, 17 Sep 2026 13:44:47 +0530 Subject: [PATCH 2/3] docs: restore Next Steps navigation --- docs/core/testing/unit-testing-code-coverage.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/core/testing/unit-testing-code-coverage.md b/docs/core/testing/unit-testing-code-coverage.md index fbb3c1f1b00f7..4a0c5df3dfc1b 100644 --- a/docs/core/testing/unit-testing-code-coverage.md +++ b/docs/core/testing/unit-testing-code-coverage.md @@ -244,7 +244,7 @@ Below is the example *coverage.cobertura.xml* file. - + @@ -304,4 +304,5 @@ After running this command, an HTML file represents the generated report. ## Next Steps -... \ No newline at end of file +> [!div class="nextstepaction"] +> [Unit testing best practices](unit-testing-best-practices.md) From a0753a52a23e0785bd91ed2a255cb02503008ee7 Mon Sep 17 00:00:00 2001 From: surya pratap singh Date: Thu, 17 Sep 2026 13:45:21 +0530 Subject: [PATCH 3/3] docs: restore Next Steps navigation --- docs/core/testing/unit-testing-code-coverage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/testing/unit-testing-code-coverage.md b/docs/core/testing/unit-testing-code-coverage.md index 4a0c5df3dfc1b..e8f8a33cd7775 100644 --- a/docs/core/testing/unit-testing-code-coverage.md +++ b/docs/core/testing/unit-testing-code-coverage.md @@ -244,7 +244,7 @@ Below is the example *coverage.cobertura.xml* file. - +