Document recent dotnet test SDK changes - #55961
Open
Evangelink wants to merge 1 commit into
Open
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The MTP reference has unresolved accuracy and compatibility documentation issues.
Get a fresh assessment by requesting another Copilot review.
Review tier: Lite
Findings: 2
Open findings (2)
What changed in this PR
Updates .NET testing documentation for recent SDK, VSTest, MSTest, and Microsoft.Testing.Platform behavior.
Changes:
- Expands MTP options, device support, artifacts, and runner guidance.
- Adds VSTest dependency controls and cross-references.
- Documents .NET 11 RC 1 known issues and corrects examples.
| File | Description |
|---|---|
docs/core/whats-new/dotnet-11/sdk.md |
Adds known RC 1 test issues. |
docs/core/tools/dotnet-test.md |
Documents runner selection. |
docs/core/tools/dotnet-test-vstest.md |
Adds --no-dependencies. |
docs/core/tools/dotnet-test-mtp.md |
Expands MTP command guidance. |
docs/core/testing/unit-testing-with-dotnet-test.md |
Documents environment-based runner selection. |
docs/core/testing/unit-testing-mstest-running-tests.md |
Adds MTP and SDK references. |
docs/core/testing/microsoft-testing-platform-run-and-debug.md |
Updates MTP execution examples. |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
| > [!NOTE] | ||
| > You can use only one of the following options at a time: `--project`, `--solution`, or `--test-modules`. These options can't be combined. | ||
| > In addition, when using `--test-modules`, you can't specify `--arch`, `--configuration`, `--framework`, `--os`, or `--runtime`. These options aren't relevant for an already-built module. | ||
| > In addition, when you use `--test-modules`, you can't specify `--arch`, `--configuration`, `--framework`, `--os`, `--runtime`, or `--use-current-runtime`. These options aren't relevant for an already-built module. |
|
|
||
| Stops the complete run after it reaches the specified number of failed, errored, timed-out, or canceled tests. The run exits with code 13. | ||
|
|
||
| Available starting with .NET 11 RC 1 and requires MTP 2.4 or later. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

The durable
dotnet testreference had fallen behind user-visible SDK changes from the past six months, especially for Microsoft.Testing.Platform (MTP). This update aligns the CLI, MTP, and MSTest guidance with shipped behavior and explicitly identifies the SDK or package version required for newer capabilities.What changed
DOTNET_TEST_RUNNER, mobile and traversal projects, structured test discovery, run-level policies, result layouts, artifacts, output streaming, cancellation, and argument forwarding.--no-dependenciesto the VSTest reference.--test-modules.dotnet test, MTP, MSTest, and MSTest.Sdk guidance.Source breakdown
dotnet/sdkpull requests and issues dated March 12 through September 12, 2026.Review notes
Please pay particular attention to preview and RC version boundaries, MTP 2.4 requirements, mobile device constraints, and the placement of temporary RC 1 known issues.
Validation
npx --yes markdownlint-cli2passed for all seven changed Markdown files.git diff --checkpassed.Internal previews
Build report