Document MSTest 4.3 random test order and MTP 2.3 filter mutual exclusion#54724
Open
Evangelink wants to merge 3 commits into
Open
Document MSTest 4.3 random test order and MTP 2.3 filter mutual exclusion#54724Evangelink wants to merge 3 commits into
Evangelink wants to merge 3 commits into
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR closes two remaining documentation gaps identified in an audit of MSTest 4.3 and Microsoft.Testing.Platform (MTP) 2.3 by updating existing reference articles.
Changes:
- Added an MSTest-focused “Order randomly” section to document
RandomizeTestOrderandRandomTestOrderSeedin the dedicated ordering article. - Documented
--treenode-filter↔--filter-uidmutual exclusion in the MTP CLI options reference, with notes on both options.
Show a summary per file
| File | Description |
|---|---|
| docs/core/testing/order-unit-tests.md | Adds MSTest 4.3 random ordering guidance to the test ordering article. |
| docs/core/testing/microsoft-testing-platform-cli-options.md | Adds mutual exclusion notes between --filter-uid and --treenode-filter for MTP 2.3.0+. |
Copilot's findings
- Files reviewed: 2/2 changed files
- Comments generated: 4
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.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 review of MTP 2.3.0/2.3.1 and MSTest 4.3.0 feature coverage against the docs. The existing documentation (largely from #54187, #54480, and #54633) was already comprehensive; this PR fills the two remaining gaps found during the audit.
Changes
order-unit-tests.md— Added an "Order randomly" section to the MSTest zone covering the MSTest 4.3RandomizeTestOrderandRandomTestOrderSeedrunsettings options. Previously the article only documentedOrderTestsByNameInClass(3.6), so the random-order feature wasn't discoverable from the dedicated ordering article (it was only in the Configure MSTest reference tables).microsoft-testing-platform-cli-options.md— Documented the new--treenode-filter↔--filter-uidmutual exclusion introduced in MTP 2.3.0 (testfx#9458); added reciprocal notes on both option entries.Audit result
Every other feature in the MTP 2.3.0/2.3.1 (
Changelog-Platform.md) and MSTest 4.3.0 (Changelog.md) changelogs was verified as already documented:AreSequenceEqual/AreNotSequenceEqualincl.SequenceOrder.InAnyOrder,AreEquivalent,ContainsAll/DoesNotContainAll,AreAllNotNull/AreAllDistinct/AreAllOfType,AddValueFormatter,Span<T>/Memory<T>HasCountoverloads, structured messages)[MemberCondition],[ArchitectureCondition],[ExecutableCondition]), class-level[Retry],[AssemblyFixtureProvider],TestContext.Propertieslifecycle flowITestFilter/[TestFilterProviderAttribute],TestRun.Current)--ansi,--progress, crash/hangdump-if-supportedoptions,--list-tests json,--zero-tests-policy, HtmlReport/JUnitReport/CtrfReport/GitHubActionsReport/VideoRecorder/PackagedApp extensions, Azure DevOps publishing/attachments/coverage, Logging bridge, testconfig.jsonenvironmentVariables/IConfiguration, two-stage Ctrl+C, LLM-env behaviorMTP 2.3.1 is a single forward-compat bug fix with no user-facing doc need.
ai-usage: ai-assisted
Internal previews