KEMBAR78
[Breaking change] For `dotnet test`, switch `-r` to alias `--runtime` instead of `--results-dir` · Issue #21952 · dotnet/sdk · GitHub
Skip to content

[Breaking change] For dotnet test, switch -r to alias --runtime instead of --results-dir #21952

@richlander

Description

@richlander

Check it out:

rich@mazama:~$ dotnet test --help | grep -- -r
                                            See https://aka.ms/vstest-report
                                          testing. Implies --no-restore.
  -r, --results-directory <RESULTS_DIR>   The directory where the test results
  --runtime <RUNTIME_IDENTIFIER>          The target runtime to test for.
  --no-restore                            Do not restore the project before

-r should be used for --runtime for all verbs.

This is similar to #21389.

https://grep.app/search?q=dotnet%20test%20-r
https://grep.app/search?q=dotnet%20test%20--results-directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions