I am trying to fix our project integration test suite, which is based on MSTest and is testing an extension for Visual Studio. These MSTest tests run from a new instance of Visual Studio (which is configured as a test node). During testing on different computers, we found that, since different computers have slightly different regional settings (the default culture), the strings returned from Visual Studio also differ slightly in their formatting.
My question is, is there a way, using MSTest with the "VS IDE" as the host, to set CultureInfo to the default value so that we can get consistent results on different test machines?
source
share