-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Users/siddhap/2015vstia #3539
Users/siddhap/2015vstia #3539
Conversation
Tasks/VsTest/task.json
Outdated
@@ -322,7 +322,7 @@ | |||
"NoMatchingTestAssemblies": "No test assemblies found matching the pattern: %s.", | |||
"VstestNotFound": "Vstest of version %d is not found. Try again with a visual studio version that exists on your build agent machine.", | |||
"VstestFailed": "Vstest failed with error. Check logs for failures. There might be failed tests.", | |||
"VstestTIANotSupported": "Install Visual Studio version 15.0.25807 or higher to run Test Impact Analysis.", | |||
"VstestTIANotSupported": "Install Visual Studio 14 update 3 or 15 RC or above to run Test Impact Analysis.", |
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.
Will user understand 14/15, should we say 2015 2017?
Tasks/VsTest/vstest.ts
Outdated
if (tiaConfig.tiaEnabled && (vsTestVersionForTIA === null || (vsTestVersionForTIA[0] < 15 || (vsTestVersionForTIA[0] === 15 && vsTestVersionForTIA[1] === 0 && vsTestVersionForTIA[2] < 25727)))) { | ||
if (tiaConfig.tiaEnabled && (vsTestVersionForTIA === null || | ||
(vsTestVersionForTIA[0] < 14 || | ||
(vsTestVersionForTIA[0] === 15 && vsTestVersionForTIA[1] === 0 && vsTestVersionForTIA[2] < 25727) || |
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.
We have packaged both the collector and vstest.console, what other changes which is not in < vs14 u3? #Closed
Tasks/VsTest/vstest.ts
Outdated
@@ -493,6 +498,11 @@ function getVstestTestsList(vsVersion: number): Q.Promise<string> { | |||
} | |||
|
|||
let vstest = tl.tool(vsVersionDetails.location); | |||
|
|||
if(vsVersion === 14) { | |||
let vsTestPath = path.join(__dirname, "TestSelector/14.0/vstest.console.exe") // Use private vstest as the changes to discover tests are not there in update3 |
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.
We will use probing path for assembly redirections? Have we tested this? Remember facing some issue last time while trying this. #Closed
Added support for vs 2015 when TIA is on.