Document MSTest 4.3 and 4.4 features - #55326
Merged
Merged
Conversation
Add versioned coverage for framework, runner, configuration, and analyzer changes across MSTest 4.3.x and the 4.4 preview. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 58f566d4-864e-4b2a-9fbe-119f1afbbea8
Evangelink
requested review from
a team,
meaghanlewis and
nohwnd
as code owners
August 6, 2026 10:39
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the .NET testing documentation set to cover MSTest 4.3.x features/behavior changes and to introduce preview documentation for planned MSTest 4.4 features, including new analyzers and related configuration guidance.
Changes:
- Add and wire up new MSTest analyzer reference pages (MSTEST0072–MSTEST0081) across TOC and analyzer indexes.
- Expand MSTest conceptual docs with new/updated guidance (resource locks, dependencies, per-test temp directory, live output, retry reporting, AOT limitations, and more).
- Update Microsoft.Testing.Platform docs to reflect new retry/flaky reporting and report-format behaviors.
Show a summary per file
| File | Description |
|---|---|
| docs/navigate/devops-testing/toc.yml | Adds MSTest analyzer entries to navigation. |
| docs/core/testing/unit-testing-mstest-writing-tests-testcontext.md | Documents per-test temp directory and output behavior updates. |
| docs/core/testing/unit-testing-mstest-writing-tests-lifecycle.md | Adds 4.4 preview notes about AOT behavior and fixture timeouts. |
| docs/core/testing/unit-testing-mstest-writing-tests-controlling-execution.md | Documents resource locks, dependencies, retry reporting, and CICondition example update. |
| docs/core/testing/unit-testing-mstest-writing-tests-assertions.md | Documents new assertion behaviors/APIs added in MSTest 4.3. |
| docs/core/testing/unit-testing-mstest-sdk.md | Documents JUnit enablement and adds/extends ITestFilter guidance. |
| docs/core/testing/unit-testing-mstest-intro.md | Updates platform support matrix and adds 4.4 preview note/metadata. |
| docs/core/testing/unit-testing-mstest-configure.md | Updates runsettings/testconfig.json settings docs (timeouts, output modes, dependencies, validation behavior). |
| docs/core/testing/mstest-analyzers/usage-rules.md | Adds new rules to the usage rules index and scenario groupings. |
| docs/core/testing/mstest-analyzers/overview.md | Adds new rules to analyzer overview and grouping sections. |
| docs/core/testing/mstest-analyzers/mstest0081.md | New reference page for MSTEST0081. |
| docs/core/testing/mstest-analyzers/mstest0080.md | New reference page for MSTEST0080. |
| docs/core/testing/mstest-analyzers/mstest0079.md | New reference page for MSTEST0079. |
| docs/core/testing/mstest-analyzers/mstest0078.md | New reference page for MSTEST0078. |
| docs/core/testing/mstest-analyzers/mstest0077.md | New reference page for MSTEST0077. |
| docs/core/testing/mstest-analyzers/mstest0076.md | New reference page for MSTEST0076. |
| docs/core/testing/mstest-analyzers/mstest0075.md | New reference page for MSTEST0075. |
| docs/core/testing/mstest-analyzers/mstest0074.md | New reference page for MSTEST0074. |
| docs/core/testing/mstest-analyzers/mstest0073.md | New reference page for MSTEST0073. |
| docs/core/testing/mstest-analyzers/mstest0072.md | New reference page for MSTEST0072. |
| docs/core/testing/mstest-analyzers/mstest0065.md | Updates MSTEST0065 behavior notes for 4.3.3. |
| docs/core/testing/mstest-analyzers/mstest0050.md | Updates MSTEST0050 metadata (severity semantics, AI metadata). |
| docs/core/testing/mstest-analyzers/mstest0041.md | Updates MSTEST0041 metadata (code fix availability, AI metadata). |
| docs/core/testing/mstest-analyzers/mstest0024.md | Updates MSTEST0024 metadata and notes expanded detection. |
| docs/core/testing/microsoft-testing-platform-test-reports.md | Documents JUnit enablement and retry details in CTRF/summary behavior. |
| docs/core/testing/microsoft-testing-platform-terminal-output.md | Adds --show-flaky-tests option documentation. |
| docs/core/testing/microsoft-testing-platform-retry.md | Documents updated retry/flaky reporting and artifact layout semantics. |
Copilot's findings
- Files reviewed: 27/27 changed files
- Comments generated: 3
Evangelink
enabled auto-merge (squash)
August 6, 2026 10:48
Fix reviewer-noted typos and clarify versioned analyzer severity. Also call out the experimental custom retry APIs explicitly. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 58f566d4-864e-4b2a-9fbe-119f1afbbea8
nohwnd
reviewed
Aug 6, 2026
Remove a redundant relative-path clause that obscured the parallel filesystem collision guidance. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 58f566d4-864e-4b2a-9fbe-119f1afbbea8
nohwnd
approved these changes
Aug 6, 2026
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.
Summary
Content source breakdown
No content was copied verbatim.
ReflectionFreesource-generation default.testconfig.jsonparsing, TestContext property scoping, and analyzer behavior corrections.TestContext.TestTempDirectoryguidance and MSTEST0077 reference content.[DependsOn],testconfig.jsondependency declarations, and MSTEST0078 guidance.AI usage
This PR was created with AI assistance. Every changed or new Markdown page includes
ai-usage: ai-assisted.Expert review requested
MSTest 4.4.0 is unreleased as of August 6, 2026. Its APIs, analyzer behavior, and configuration remain preview content and might change before release. Please review the generated MSTEST0072–MSTEST0081 pages and the preview sections for
ResourceLockAttribute,[DependsOn],TestTempDirectory, global fixture timeouts, andITestFilterespecially closely.Validation
markdownlint-cli2across all changed Markdown files.Internal previews
Toggle expand/collapse