Skip to content

Add VSTest/MTP behavioral difference section in migration guide#52091

Open
Youssef1313 wants to merge 8 commits intomainfrom
dev/ygerges/redirection
Open

Add VSTest/MTP behavioral difference section in migration guide#52091
Youssef1313 wants to merge 8 commits intomainfrom
dev/ygerges/redirection

Conversation

@Youssef1313
Copy link
Member

@Youssef1313 Youssef1313 commented Mar 5, 2026

Copilot AI review requested due to automatic review settings March 5, 2026 11:52
@dotnetrepoman dotnetrepoman bot added this to the March 2026 milestone Mar 5, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a new "Behavioral differences between VSTest and Microsoft.Testing.Platform" section to the existing VSTest migration guide, documenting two key behavioral differences users might encounter: exit code handling for zero-test runs, and console encoding preservation differences.

Changes:

  • Added a new H2 section describing behavioral differences between VSTest and Microsoft.Testing.Platform
  • Added "Running zero tests" subsection with three workaround options (CLI flag, MSBuild property, environment variable)
  • Added "Behavioral difference for Console.InputEncoding" subsection explaining codepage/encoding behavior across different run modes

@Youssef1313 Youssef1313 force-pushed the dev/ygerges/redirection branch from d6f6578 to dbd1599 Compare March 5, 2026 11:58
@Youssef1313 Youssef1313 force-pushed the dev/ygerges/redirection branch from dbd1599 to d15cf41 Compare March 5, 2026 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document VSTest pitfalls and differences from MTP for input encoding

4 participants