From 7efd28083759e71c6c5d39999a29447ea9ce9c7e Mon Sep 17 00:00:00 2001 From: Marco Rossignoli Date: Thu, 9 Jun 2022 10:18:23 +0200 Subject: [PATCH 1/3] update dotnet test --- docs/core/tools/dotnet-test.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/core/tools/dotnet-test.md b/docs/core/tools/dotnet-test.md index 65fd92420adad..968fe3722478b 100644 --- a/docs/core/tools/dotnet-test.md +++ b/docs/core/tools/dotnet-test.md @@ -122,9 +122,10 @@ Where `Microsoft.NET.Test.Sdk` is the test host, `xunit` is the test framework. Enables data collector for the test run. For more information, see [Monitor and analyze test run](https://aka.ms/vstest-collect). + To collect code coverage on Windows (x86, x64 and arm64), Linux (x64) and macOS (x64), you can collect code coverage by using the `--collect "Code Coverage"` option. This option generates a *.coverage* file, which can be opened in Visual Studio 2019 Enterprise. For more information, see [Use code coverage](/visualstudio/test/using-code-coverage-to-determine-how-much-code-is-being-tested) and [Customize code coverage analysis](/visualstudio/test/customizing-code-coverage-analysis). + To collect code coverage on any platform that is supported by .NET Core, install [Coverlet](https://github.com/coverlet-coverage/coverlet/blob/master/README.md) and use the `--collect:"XPlat Code Coverage"` option. - On Windows, you can collect code coverage by using the `--collect "Code Coverage"` option. This option generates a *.coverage* file, which can be opened in Visual Studio 2019 Enterprise. For more information, see [Use code coverage](/visualstudio/test/using-code-coverage-to-determine-how-much-code-is-being-tested) and [Customize code coverage analysis](/visualstudio/test/customizing-code-coverage-analysis). - **`-d|--diag `** From 1c1326f062d3cdce4ff6007270df358765605837 Mon Sep 17 00:00:00 2001 From: Marco Rossignoli Date: Thu, 9 Jun 2022 10:19:32 +0200 Subject: [PATCH 2/3] updates --- docs/core/tools/dotnet-test.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/tools/dotnet-test.md b/docs/core/tools/dotnet-test.md index 968fe3722478b..526a51a85f295 100644 --- a/docs/core/tools/dotnet-test.md +++ b/docs/core/tools/dotnet-test.md @@ -122,7 +122,7 @@ Where `Microsoft.NET.Test.Sdk` is the test host, `xunit` is the test framework. Enables data collector for the test run. For more information, see [Monitor and analyze test run](https://aka.ms/vstest-collect). - To collect code coverage on Windows (x86, x64 and arm64), Linux (x64) and macOS (x64), you can collect code coverage by using the `--collect "Code Coverage"` option. This option generates a *.coverage* file, which can be opened in Visual Studio 2019 Enterprise. For more information, see [Use code coverage](/visualstudio/test/using-code-coverage-to-determine-how-much-code-is-being-tested) and [Customize code coverage analysis](/visualstudio/test/customizing-code-coverage-analysis). + On Windows (x86, x64 and arm64), Linux (x64) and macOS (x64), you can collect code coverage by using the `--collect "Code Coverage"` option. For more information, see [Use code coverage](/visualstudio/test/using-code-coverage-to-determine-how-much-code-is-being-tested) and [Customize code coverage analysis](/visualstudio/test/customizing-code-coverage-analysis). To collect code coverage on any platform that is supported by .NET Core, install [Coverlet](https://github.com/coverlet-coverage/coverlet/blob/master/README.md) and use the `--collect:"XPlat Code Coverage"` option. From 69ec513a0a6616b2525f24164cfaf8003d0fc7c1 Mon Sep 17 00:00:00 2001 From: Marco Rossignoli Date: Thu, 9 Jun 2022 11:16:24 +0200 Subject: [PATCH 3/3] updates --- docs/core/tools/dotnet-test.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/tools/dotnet-test.md b/docs/core/tools/dotnet-test.md index 526a51a85f295..72e992b94b05f 100644 --- a/docs/core/tools/dotnet-test.md +++ b/docs/core/tools/dotnet-test.md @@ -124,7 +124,7 @@ Where `Microsoft.NET.Test.Sdk` is the test host, `xunit` is the test framework. On Windows (x86, x64 and arm64), Linux (x64) and macOS (x64), you can collect code coverage by using the `--collect "Code Coverage"` option. For more information, see [Use code coverage](/visualstudio/test/using-code-coverage-to-determine-how-much-code-is-being-tested) and [Customize code coverage analysis](/visualstudio/test/customizing-code-coverage-analysis). - To collect code coverage on any platform that is supported by .NET Core, install [Coverlet](https://github.com/coverlet-coverage/coverlet/blob/master/README.md) and use the `--collect:"XPlat Code Coverage"` option. + To collect code coverage on any platform that is supported by .NET Core, install [Coverlet](https://github.com/coverlet-coverage/coverlet/blob/master/README.md) and use the `--collect "XPlat Code Coverage"` option. - **`-d|--diag `**