Skip to content

Conversation

gasparnagy
Copy link
Contributor

@gasparnagy gasparnagy commented Oct 5, 2025

Summary

This PR adds the --tl option to dotnet test command documentation based on how it is documented at dotnet build

Fixes #48872


Internal previews

📄 File 🔗 Preview link
docs/core/tools/dotnet-test.md dotnet test

@Copilot Copilot AI review requested due to automatic review settings October 5, 2025 08:33
@gasparnagy gasparnagy requested a review from a team as a code owner October 5, 2025 08:33
@dotnetrepoman dotnetrepoman bot added this to the October 2025 milestone Oct 5, 2025
Copy link
Contributor

@Copilot Copilot AI left a 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

Copy link
Contributor

@meaghanlewis meaghanlewis left a 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)]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
[!INCLUDE [tl](../../../includes/cli-tl.md)]

Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community-contribution Indicates PR is created by someone from the .NET community. dotnet-cli/subsvc dotnet-fundamentals/svc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The '--tl' option is not documented for "dotnet test" and "-?" also does not display it
2 participants