Enable live output for MSTest tests#55418
Open
Evangelink wants to merge 6 commits into
Open
Conversation
Update MSTest and Microsoft.Testing.Platform to the latest coherent TestFX build, then configure SDK repository tests to capture and stream output live. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8bf6402b-2114-4555-97d4-9708f64b60da
|
Azure Pipelines: Successfully started running 2 pipeline(s). 1 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
There was a problem hiding this comment.
Pull request overview
Enables live streaming and result-capture of MSTest output across the test/ tree by standardizing a TestFX test configuration file and updating to a coherent TestFX build.
Changes:
- Bump MSTest/MSTest.Sdk and Microsoft.Testing.Platform to
*-preview.26370.11(coherent TestFX build/SHA). - Add
test/testconfig.jsonand MSBuild wiring to copy it next to MSTest outputs as<AssemblyName>.testconfig.json. - Document the repository-wide MSTest live-output behavior in
test/AGENTS.md.
Show a summary per file
| File | Description |
|---|---|
| test/testconfig.json | Introduces the MSTest output configuration (capture trace live). |
| test/Directory.Build.props | Copies the config next to MSTest outputs as <AssemblyName>.testconfig.json. |
| test/AGENTS.md | Documents the new repo-default MSTest live output behavior for contributors/agents. |
| global.json | Updates the MSTest.Sdk MSBuild SDK version to the coherent TestFX build. |
| eng/Version.Details.xml | Updates TestFX dependency versions and SHAs to keep MSTest + MTP coherent. |
| eng/Version.Details.props | Updates the flowing package version properties for TestFX packages. |
Copilot's findings
- Files reviewed: 6/6 changed files
- Comments generated: 2
Avoid copying testconfig.json into shared MSTest.Sdk library outputs where IsTestApplication is false. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8bf6402b-2114-4555-97d4-9708f64b60da
Helix shards can stop making progress when high-volume parallel test output uses MSTest live capture. Keep live output for local runs and retain MSTest's default result capture in CI. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8bf6402b-2114-4555-97d4-9708f64b60da
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8bf6402b-2114-4555-97d4-9708f64b60da
|
Azure Pipelines: Successfully started running 2 pipeline(s). 1 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Member
Author
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). 1 pipeline(s) were filtered out due to trigger conditions. |
Member
Author
|
The original CI failures exposed an MSTest Live output lock inversion, confirmed from the Helix hang dump. The product fix is in microsoft/testfx#10169 with a deterministic deadlock regression. This SDK PR temporarily excludes the live config on CI only while that fix builds; once a fixed TestFX build is available, I will flow it here and remove the exclusion. |
Member
Author
|
@copilot resolve the merge conflicts in this pull request |
Evangelink
enabled auto-merge
July 23, 2026 14:37
Resolve the TestFX dependency conflicts using main's newer coherent MSTest and Microsoft.Testing.Platform build. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8bf6402b-2114-4555-97d4-9708f64b60da
Update MSTest and Microsoft.Testing.Platform to TestFX build 324182, which includes microsoft/testfx#10169, and re-enable live capture in CI. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8bf6402b-2114-4555-97d4-9708f64b60da
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
4.4.0-preview.26373.11and Microsoft.Testing.Platform to2.4.0-preview.26373.11from coherent TestFX build 324182Validation
Microsoft.NET.Build.Containers.UnitTestssuccessfully with no warnings or errors<AssemblyName>.testconfig.jsoncontainscaptureTrace: Live26373.11at the same TestFX SHA