-
Notifications
You must be signed in to change notification settings - Fork 291
Open
Copy link
Labels
Area: DocumentationArea: MTPBelongs to the Microsoft.Testing.Platform core libraryBelongs to the Microsoft.Testing.Platform core librarymtp-migration-challenge
Description
When starting a process from a console, it gets its input encoding based on the console codepage. All child processes then inherit the same input encoding, except if a child process is run with CreateNoWindow = true.
With MTP, we don't use CreateNoWindow in any place.
With VSTest, it depends.
- When running with isolation, vstest.console.exe starts testhost.exe with
CreateNoWindow=true, and so input encoding is lost. - When running without isolation, everything is run under vstest.console.exe, and there are no child processes at all, and original encoding is preserved.
Most VSTest users will run with isolation, and might hit this behavior difference when migrating to MTP.
This needs to be clearly documented.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area: DocumentationArea: MTPBelongs to the Microsoft.Testing.Platform core libraryBelongs to the Microsoft.Testing.Platform core librarymtp-migration-challenge