Update MTPHelpSnapshotTests snapshot for --progress option changes#54950
Merged
Conversation
The MTP help output was updated to include a new --progress option and
remove the duplicate --ansi from Extension Options. The snapshot file
was not regenerated, causing test failures across all legs.
Changes:
- --no-progress reference updated to --progress off
- New --progress platform option added
- --ansi removed from Extension Options (was duplicated from Platform Options)
- {arch} placeholder added to --report-trx-filename description
Fixes #54948
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Verify snapshot used by MTPHelpSnapshotTests.VerifyMTPHelpOutput so it matches the current dotnet test --help output for Microsoft.Testing.Platform, unblocking CI where the snapshot mismatch is failing on all legs.
Changes:
- Updates
--ansihelp text to reference--progress offinstead of--no-progress. - Adds the new
--progressplatform option block (including precedence over deprecated--no-progress). - Removes duplicated
--ansifrom Extension Options and updates--report-trx-filenameplaceholder list to include{arch}.
dsplaisted
approved these changes
Jun 23, 2026
Member
|
/ba-g Failures look unrelated. @Evangelink Something broke with the MSTest upgrades, some Helix work items are failing with exit code 8 (zero tests run) when all tests skipped. |
Evangelink
approved these changes
Jun 24, 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
Regenerates the
MTPHelpSnapshotTests.VerifyMTPHelpOutputVerify snapshot to match the currentdotnet test --helpoutput. This test is failing across all legs on the main CI build.Changes to snapshot
--no-progressreference updated to--progress offin the--ansiplatform option description--progressplatform option added (control whether progress is reported to screen)--ansiremoved from Extension Options (it was duplicated from Platform Options){arch} (process architecture)placeholder added to--report-trx-filenamedescriptionFailing build
https://dev.azure.com/dnceng-public/public/_build/results?buildId=1477619
Fixes #54948
Regression introduced by #54765 (testfx dependency update: Microsoft.Testing.Platform 2.3.0-preview.26307.5 → 2.3.0-preview.26321.1)