Skip to content

Cleanup vstest.TestCase.StandardError/vstest.TestCase.StandardOutput#6870

Merged
nohwnd merged 1 commit intomainfrom
dev/ygerges/cleanup
Nov 4, 2025
Merged

Cleanup vstest.TestCase.StandardError/vstest.TestCase.StandardOutput#6870
nohwnd merged 1 commit intomainfrom
dev/ygerges/cleanup

Conversation

@Youssef1313
Copy link
Member

@Youssef1313 Youssef1313 commented Nov 4, 2025

Related to #3933

The first MSTest version that supported stdout/stderr for MTP in Test Explorer is MSTest 3.6.

This was done in two PRs: #3486 and #3749.

The first PR was a hacky approach that couldn't work for xunit.v3 (see #3740). So a better approach was introduced in the other PR.

When the first testfx PR was done, we followed-up with a corresponding change on Test Explorer side that got in 17.12.

Later on, when the second testfx PR was done, we also followed-up with a change on Test Explorer side that was done also for 17.12.

What we ended up with is two known properties for specifying stdout/stderr, and serializing the information twice. This PR cleans that up.

I also have a similar PR on VSU to clean this up for Test Explorer.

@nohwnd nohwnd merged commit d91d98e into main Nov 4, 2025
9 checks passed
@nohwnd nohwnd deleted the dev/ygerges/cleanup branch November 4, 2025 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants