Skip to content

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

Merged
gewarren merged 9 commits intomainfrom
dev/ygerges/redirection
Mar 9, 2026
Merged

Add VSTest/MTP behavioral difference section in migration guide#52091
gewarren merged 9 commits intomainfrom
dev/ygerges/redirection

Conversation

@Youssef1313
Copy link
Copy Markdown
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
Copy Markdown
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

Comment thread docs/core/testing/migrating-vstest-microsoft-testing-platform.md Outdated
Comment thread docs/core/testing/migrating-vstest-microsoft-testing-platform.md Outdated
Comment thread docs/core/testing/migrating-vstest-microsoft-testing-platform.md Outdated
Comment thread docs/core/testing/migrating-vstest-microsoft-testing-platform.md Outdated
Comment thread docs/core/testing/migrating-vstest-microsoft-testing-platform.md Outdated
Comment thread docs/core/testing/migrating-vstest-microsoft-testing-platform.md Outdated
Comment thread docs/core/testing/migrating-vstest-microsoft-testing-platform.md
Comment thread docs/core/testing/migrating-vstest-microsoft-testing-platform.md Outdated
@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
Comment thread docs/core/testing/migrating-vstest-microsoft-testing-platform.md Outdated
Comment thread docs/core/testing/migrating-vstest-microsoft-testing-platform.md Outdated
Comment thread docs/core/testing/migrating-vstest-microsoft-testing-platform.md Outdated
Comment thread docs/core/testing/migrating-vstest-microsoft-testing-platform.md Outdated
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
@gewarren gewarren merged commit aedd7ad into main Mar 9, 2026
11 checks passed
@gewarren gewarren deleted the dev/ygerges/redirection branch March 9, 2026 20:37
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

5 participants