-
Notifications
You must be signed in to change notification settings - Fork 323
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
Support multiple paths in TestAdapterPath argument (#1319) #1320
Conversation
@dtretyakov Thanks for contribution 👍 . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
|
||
foreach (var testadapterPath in testAdapterPaths) | ||
{ | ||
var testAdapterFullPath = Path.GetFullPath(testadapterPath); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As environment variables (%temp%\adapters
) supported in runsettings file's "TestAdaptersPaths". Consider adding "Environment.ExpandEnvironmentVariables" here and test for same.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@smadala, ok, it was fixed.
Builds on windows machines were failed since |
@dotnet-bot Please test Windows_NT / Debug Build. |
@dtretyakov Looks like issue with downloading |
@dotnet-bot Please test Windows_NT / Release Build. |
1 similar comment
@dotnet-bot Please test Windows_NT / Release Build. |
Description
Currently when using
VSTestTestAdapterPath
as a command line parameter inmsbuild
ordotnet test
VSTestTask
bypasses it in vstest console which throws exception like that:This change handles this case and merges provided paths with paths retrieved from test settings file.
Related issue
#1319, #141