Rework MSTest docs to be feature oriented#51527
Merged
Evangelink merged 14 commits intomainfrom Feb 9, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request reworks the MSTest documentation to be feature-oriented, following up on PR #50979. The changes reorganize documentation from an attribute-centric structure to a feature-based organization that better supports developers learning MSTest.
Changes:
- Deleted the comprehensive attributes page (
unit-testing-mstest-writing-tests-attributes.md) and redistributed content into feature-specific documents - Created new feature-oriented documentation files: data-driven testing, lifecycle management, execution control, and test organization
- Reorganized the table of contents to group documentation by testing concepts rather than API elements
- Updated cross-references throughout the documentation
- Added redirects for deleted/moved pages
Reviewed changes
Copilot reviewed 25 out of 25 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
docs/navigate/devops-testing/toc.yml |
Reorganized MSTest section, moved framework order (MSTest first, then NUnit, xUnit) |
docs/navigate/devops-testing/index.yml |
Updated link from runner intro to running tests overview |
docs/core/testing/unit-testing-mstest-writing-tests.md |
Rewrote as feature overview with quick reference tables |
docs/core/testing/unit-testing-mstest-writing-tests-organizing.md |
New file covering test metadata and organization attributes |
docs/core/testing/unit-testing-mstest-writing-tests-lifecycle.md |
Expanded lifecycle documentation with detailed examples |
docs/core/testing/unit-testing-mstest-writing-tests-data-driven.md |
New comprehensive guide to data-driven testing |
docs/core/testing/unit-testing-mstest-writing-tests-controlling-execution.md |
New guide for execution control attributes |
docs/core/testing/unit-testing-mstest-writing-tests-assertions.md |
Enhanced assertions documentation |
docs/core/testing/unit-testing-mstest-intro.md |
Expanded overview with platform support details |
docs/core/testing/unit-testing-mstest-getting-started.md |
Restructured getting started guide |
docs/core/testing/unit-testing-mstest-sdk.md |
Updated to focus on configuration |
docs/core/testing/unit-testing-mstest-running-tests.md |
Consolidated runner information from deleted intro file |
| Language-specific tutorials (C#, F#, VB) | Updated titles for consistency |
| Analyzer documentation | Updated cross-references to new document structure |
.openpublishing.redirection.core.json |
Added redirects for deleted pages |
docs/core/testing/unit-testing-mstest-writing-tests-data-driven.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…n.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Youssef1313
reviewed
Feb 6, 2026
Youssef1313
reviewed
Feb 6, 2026
Youssef1313
reviewed
Feb 6, 2026
Youssef1313
reviewed
Feb 6, 2026
Youssef1313
reviewed
Feb 6, 2026
Youssef1313
reviewed
Feb 6, 2026
Youssef1313
reviewed
Feb 6, 2026
Youssef1313
reviewed
Feb 6, 2026
Youssef1313
reviewed
Feb 6, 2026
Youssef1313
reviewed
Feb 6, 2026
Youssef1313
reviewed
Feb 6, 2026
Youssef1313
reviewed
Feb 6, 2026
Youssef1313
reviewed
Feb 6, 2026
docs/core/testing/unit-testing-mstest-writing-tests-assertions.md
Outdated
Show resolved
Hide resolved
Youssef1313
reviewed
Feb 6, 2026
docs/core/testing/unit-testing-mstest-writing-tests-data-driven.md
Outdated
Show resolved
Hide resolved
Youssef1313
reviewed
Feb 6, 2026
docs/core/testing/unit-testing-mstest-writing-tests-data-driven.md
Outdated
Show resolved
Hide resolved
Youssef1313
reviewed
Feb 6, 2026
docs/core/testing/unit-testing-mstest-writing-tests-data-driven.md
Outdated
Show resolved
Hide resolved
Youssef1313
reviewed
Feb 6, 2026
docs/core/testing/unit-testing-mstest-writing-tests-data-driven.md
Outdated
Show resolved
Hide resolved
Youssef1313
reviewed
Feb 6, 2026
docs/core/testing/unit-testing-mstest-writing-tests-data-driven.md
Outdated
Show resolved
Hide resolved
Youssef1313
reviewed
Feb 6, 2026
docs/core/testing/unit-testing-mstest-writing-tests-data-driven.md
Outdated
Show resolved
Hide resolved
Youssef1313
reviewed
Feb 6, 2026
docs/core/testing/unit-testing-mstest-writing-tests-data-driven.md
Outdated
Show resolved
Hide resolved
Youssef1313
reviewed
Feb 6, 2026
docs/core/testing/unit-testing-mstest-writing-tests-lifecycle.md
Outdated
Show resolved
Hide resolved
Youssef1313
reviewed
Feb 6, 2026
docs/core/testing/unit-testing-mstest-writing-tests-lifecycle.md
Outdated
Show resolved
Hide resolved
Youssef1313
reviewed
Feb 6, 2026
docs/core/testing/unit-testing-mstest-writing-tests-lifecycle.md
Outdated
Show resolved
Hide resolved
Youssef1313
reviewed
Feb 6, 2026
Youssef1313
reviewed
Feb 6, 2026
docs/core/testing/unit-testing-mstest-writing-tests-lifecycle.md
Outdated
Show resolved
Hide resolved
Youssef1313
reviewed
Feb 6, 2026
docs/core/testing/unit-testing-mstest-writing-tests-organizing.md
Outdated
Show resolved
Hide resolved
Youssef1313
reviewed
Feb 6, 2026
docs/core/testing/unit-testing-mstest-writing-tests-organizing.md
Outdated
Show resolved
Hide resolved
Youssef1313
reviewed
Feb 6, 2026
docs/core/testing/unit-testing-mstest-writing-tests-organizing.md
Outdated
Show resolved
Hide resolved
Youssef1313
reviewed
Feb 6, 2026
docs/core/testing/unit-testing-mstest-writing-tests-organizing.md
Outdated
Show resolved
Hide resolved
Youssef1313
reviewed
Feb 6, 2026
Youssef1313
reviewed
Feb 6, 2026
Member
Youssef1313
left a comment
There was a problem hiding this comment.
Not fully reviewed yet, but so far LGTM aside from some comments.
Youssef1313
reviewed
Feb 6, 2026
meaghanlewis
approved these changes
Feb 6, 2026
Contributor
meaghanlewis
left a comment
There was a problem hiding this comment.
These changes LGTM. I left a handful of suggestions for you.
docs/core/testing/unit-testing-mstest-writing-tests-organizing.md
Outdated
Show resolved
Hide resolved
docs/core/testing/unit-testing-mstest-writing-tests-organizing.md
Outdated
Show resolved
Hide resolved
docs/core/testing/unit-testing-mstest-writing-tests-organizing.md
Outdated
Show resolved
Hide resolved
docs/core/testing/unit-testing-mstest-writing-tests-organizing.md
Outdated
Show resolved
Hide resolved
docs/core/testing/unit-testing-mstest-writing-tests-lifecycle.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Meaghan Osagie (Lewis) <mosagie@microsoft.com>
Co-authored-by: Meaghan Osagie (Lewis) <mosagie@microsoft.com>
Co-authored-by: Meaghan Osagie (Lewis) <mosagie@microsoft.com>
Co-authored-by: Meaghan Osagie (Lewis) <mosagie@microsoft.com>
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
Follow-up changes from #50979 (comment)
Fixes microsoft/testfx#5659
Internal previews
Toggle expand/collapse