Skip to content

Commit 8ae8882

Browse files
MarcoRossignoliMarco Rossignoli
andauthored
Update dotnet test coverage (#29773)
* update dotnet test * updates * updates Co-authored-by: Marco Rossignoli <[email protected]>
1 parent 1d681ff commit 8ae8882

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/core/tools/dotnet-test.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,10 @@ Where `Microsoft.NET.Test.Sdk` is the test host, `xunit` is the test framework.
122122

123123
Enables data collector for the test run. For more information, see [Monitor and analyze test run](https://aka.ms/vstest-collect).
124124

125-
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.
125+
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).
126+
127+
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.
126128

127-
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).
128129

129130
- **`-d|--diag <LOG_FILE>`**
130131

0 commit comments

Comments
 (0)