Skip to content

remove --directory #48054

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

Conversation

mariam-abdulla
Copy link
Member

@mariam-abdulla mariam-abdulla commented Aug 21, 2025

This pull request updates the documentation for the dotnet test command to clarify and simplify option usage. The main changes remove the --directory option and update related descriptions and examples to reflect this deprecation.

Command option updates:

  • Removed the --directory option from the documented command usage and option list, including its description. [1] [2]
  • Updated the descriptions for --project and --solution to clarify that they accept either a folder name or full path, and now default to the current directory if not specified.

Documentation and examples:

  • Removed the example showing usage of the deprecated --directory option.

Internal previews

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

@mariam-abdulla mariam-abdulla requested review from tdykstra and a team as code owners August 21, 2025 08:31
@dotnetrepoman dotnetrepoman bot added this to the August 2025 milestone Aug 21, 2025
@dotnet-policy-service dotnet-policy-service bot added dotnet-fundamentals/svc dotnet-cli/subsvc community-contribution Indicates PR is created by someone from the .NET community. labels Aug 21, 2025
Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

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

This LGTM as well. I'll :shipit: now.

@BillWagner BillWagner merged commit d34a1be into dotnet:main Aug 21, 2025
13 checks passed
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.

3 participants