Skip to content
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

Merged
merged 6 commits into from
Feb 7, 2017

Conversation

acesiddhu
Copy link
Contributor

Added support for vs 2015 when TIA is on.

@@ -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.",
Copy link
Contributor

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?

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) ||
Copy link
Contributor

@kaadhina kaadhina Feb 6, 2017

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

@@ -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
Copy link
Contributor

@kaadhina kaadhina Feb 6, 2017

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

@acesiddhu acesiddhu merged commit bdcc00f into users/ranjanar/vstest++_dta Feb 7, 2017
@bryanmacfarlane bryanmacfarlane deleted the users/siddhap/2015vstia branch January 31, 2018 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants