Skip to content

Conversation

mariam-abdulla
Copy link
Member

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

This pull request updates the documentation for the dotnet test command to clarify limitations when specifying certain parameters at the solution level. The changes help users avoid common pitfalls by highlighting that some options must be set at the project level instead of the solution level.

Documentation improvements:

  • Added a note explaining that specifying the Architecture for test runs is not supported at the solution level, and should be set per project if needed.
  • Added a note clarifying that setting a Runtime Identifier for test runs is also not supported at the solution level, and should be set per project if needed.

Internal previews

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

@mariam-abdulla mariam-abdulla requested review from adegeo and a team as code owners August 29, 2025 14:04
@dotnetrepoman dotnetrepoman bot added this to the August 2025 milestone Aug 29, 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 29, 2025
@mariam-abdulla
Copy link
Member Author

@Youssef1313 Please review.

@@ -482,6 +482,9 @@ With Microsoft Testing Platform, `dotnet test` operates faster than with VSTest.

[!INCLUDE [arch-no-a](../../../includes/cli-arch-no-a.md)]

> [!NOTE]
> Running tests for a solution with a specific `Architecture` is not supported. If needed, this should be specified at the individual project level instead.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
> Running tests for a solution with a specific `Architecture` is not supported. If needed, this should be specified at the individual project level instead.
> Running tests for a solution with a specific `RuntimeIdentifier` is not supported. If needed, this should be specified at the individual project level instead.

Comment on lines +502 to +503
> [!NOTE]
> Running tests for a solution with a specific `Runtime Identifier` is not supported. If needed, this should be specified at the individual project level instead.
Copy link
Member

Choose a reason for hiding this comment

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

This needs to be indented. I would also remove the space in "Runtime Identifier"

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.

2 participants