-
Notifications
You must be signed in to change notification settings - Fork 6k
Add --tl option to 'dotnet test' based on 'dotnet build' #48909
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
base: main
Are you sure you want to change the base?
Add --tl option to 'dotnet test' based on 'dotnet build' #48909
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds the --tl
(terminal logger) option to the dotnet test
command documentation to maintain consistency with the dotnet build
command documentation.
- Adds
--tl:[auto|on|off]
parameter to the command syntax - Includes documentation for the terminal logger option via a shared include file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gasparnagy thanks for adding this option! Could you move the includes line you added from the MTP options to the VSTest options section instead?
> [!NOTE] | ||
> Running tests for a solution with a global `RuntimeIdentifier` property (explicitly or via `--arch`, `--runtime`, or `--os`) is not supported. Set `RuntimeIdentifier` on an individual project level instead. | ||
[!INCLUDE [tl](../../../includes/cli-tl.md)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[!INCLUDE [tl](../../../includes/cli-tl.md)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gasparnagy actually it looks like this line should be moved to L266 instead, so it's included as an option for VSTest and not MTP.
Summary
This PR adds the
--tl
option todotnet test
command documentation based on how it is documented atdotnet build
Fixes #48872
Internal previews