Skip to content

-r changed from --results-directory to --runtime in .NET 7 #32163

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 4, 2022
Merged
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
12 changes: 6 additions & 6 deletions docs/core/tools/dotnet-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ dotnet test [<PROJECT> | <SOLUTION> | <DIRECTORY> | <DLL> | <EXE>]
[--no-restore]
[-o|--output <OUTPUT_DIRECTORY>]
[--os <OS>]
[-r|--results-directory <RESULTS_DIR>]
[--runtime <RUNTIME_IDENTIFIER>]
[--results-directory <RESULTS_DIR>]
[-r|--runtime <RUNTIME_IDENTIFIER>]
[-s|--settings <SETTINGS_FILE>]
[-t|--list-tests]
[-v|--verbosity <LEVEL>]
Expand Down Expand Up @@ -181,13 +181,13 @@ Where `Microsoft.NET.Test.Sdk` is the test host, `xunit` is the test framework.

[!INCLUDE [os](../../../includes/cli-os.md)]

- **`-r|--results-directory <RESULTS_DIR>`**
- **`--results-directory <RESULTS_DIR>`**

The directory where the test results are going to be placed. If the specified directory doesn't exist, it's created. The default is `TestResults` in the directory that contains the project file.
The directory where the test results are going to be placed. If the specified directory doesn't exist, it's created. The default is `TestResults` in the directory that contains the project file. Short form `-r` available in .NET SDK versions earlier than 7.

- **`--runtime <RUNTIME_IDENTIFIER>`**
- **`-r|--runtime <RUNTIME_IDENTIFIER>`**

The target runtime to test for.
The target runtime to test for. Short form `-r` available starting in .NET SDK 7.

- **`-s|--settings <SETTINGS_FILE>`**

Expand Down