-
Notifications
You must be signed in to change notification settings - Fork 319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specify environment variables in the runsettings file #2100
Comments
@ViktorHofer
These environment variables will be set when test host process is launched as part of its ProcessStartInfo. @ViktorHofer Is there anything else to be taken into consideration? |
Things to consider:
|
@ViktorHofer Also, there is an option to specify run parameters as key value pairs which can be used at run time. Does this suffice your need? |
Specifying environment variables in the runsettings file is necessary to support non-trivial projects that require settings env vars like DOTNET_ROOT. As discussed offline this is a blocker for dotnet repositories like corefx and sdk to onboard onto VSTest (dotnet test / vstest) and being able to use VS Test Explorer.
cc @singhsarab @cltshivash @vitek-karas @mayankbansal018
The text was updated successfully, but these errors were encountered: