Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions task-reference/dotnet-core-cli-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -305,9 +305,10 @@ Writes the additional arguments to be passed to the `restore` command.
<!-- :::editable-content name="helpMarkDown"::: -->
Enabling this option will generate a `test results` TRX file in `$(Agent.TempDirectory)`, and the results will be published to the server.

This option appends `--logger trx --results-directory $(Agent.TempDirectory)` to the command line arguments.
For VSTest, this option appends `--logger trx --results-directory $(Agent.TempDirectory)` to the command line arguments.
For Microsoft.Testing.Platform, when detected as the test runner in `global.json`, this option appends `--report-trx --results-directory $(Agent.TempDirectory)` to the command line arguments.

Code coverage can be collected by adding the `--collect "Code coverage"` option to the command line arguments.
Code coverage can be collected by adding the `--collect "Code coverage"` (for VSTest), or `--coverage` (for Microsoft.Testing.Platform) option to the command line arguments.
<!-- :::editable-content-end::: -->
<br>

Expand Down