From ad312fe1ca2f8f69e134895d548539ffc877e658 Mon Sep 17 00:00:00 2001 From: Siddhartha Pandey Date: Wed, 19 Apr 2017 16:28:10 +0530 Subject: [PATCH 1/4] Update the TIA fwd link and run in parallel link --- .../Strings/resources.resjson/en-US/resources.resjson | 2 +- Tasks/VsTest/task.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Tasks/VsTest/Strings/resources.resjson/en-US/resources.resjson b/Tasks/VsTest/Strings/resources.resjson/en-US/resources.resjson index 7c95ba69e1cf..318d18b0c15a 100644 --- a/Tasks/VsTest/Strings/resources.resjson/en-US/resources.resjson +++ b/Tasks/VsTest/Strings/resources.resjson/en-US/resources.resjson @@ -23,7 +23,7 @@ "loc.input.label.testFiltercriteria": "Test filter criteria", "loc.input.help.testFiltercriteria": "Additional criteria to filter tests from Test assemblies. For example: `Priority=1|Name=MyTestMethod`", "loc.input.label.runOnlyImpactedTests": "Run only impacted tests", - "loc.input.help.runOnlyImpactedTests": "Automatically select, and run only the tests needed to validate the code change.", + "loc.input.help.runOnlyImpactedTests": "Automatically select, and run only the tests needed to validate the code change. [More information](https://aka.ms/tialearnmore)", "loc.input.label.runAllTestsAfterXBuilds": "Number of builds after which all tests should be run", "loc.input.help.runAllTestsAfterXBuilds": "Number of builds after which to automatically run all tests. Test Impact Analysis stores the mapping between test cases and source code. It is recommended to regenerate the mapping by running all tests, on a regular basis.", "loc.input.label.uiTests": "Test mix contains UI tests", diff --git a/Tasks/VsTest/task.json b/Tasks/VsTest/task.json index b65bd3a7daab..7079b315b792 100644 --- a/Tasks/VsTest/task.json +++ b/Tasks/VsTest/task.json @@ -17,7 +17,7 @@ "version": { "Major": 2, "Minor": 0, - "Patch": 29 + "Patch": 30 }, "demands": [ "vstest" @@ -150,7 +150,7 @@ "label": "Run only impacted tests", "defaultValue": "False", "required": false, - "helpMarkDown": "Automatically select, and run only the tests needed to validate the code change.", + "helpMarkDown": "Automatically select, and run only the tests needed to validate the code change. [More information](https://aka.ms/tialearnmore)", "groupName": "testSelection", "visibleRule": "testSelector = testAssemblies" }, @@ -238,7 +238,7 @@ "label": "Run tests in parallel on multi-core machines", "defaultValue": "False", "required": false, - "helpMarkDown": "If set, tests will run in parallel leveraging available cores of the machine. [Click here](https://msdn.microsoft.com/library/jj159530.aspx) to learn more about how tests are run in parallel.", + "helpMarkDown": "If set, tests will run in parallel leveraging available cores of the machine. [Click here](https://aka.ms/paralleltestexecution) to learn more about how tests are run in parallel.", "groupName": "executionOptions" }, { From 935e06e75bee49807606bb22e261fdead6346943 Mon Sep 17 00:00:00 2001 From: Siddhartha Pandey Date: Wed, 19 Apr 2017 16:29:27 +0530 Subject: [PATCH 2/4] minor edits --- Tasks/VsTest/Strings/resources.resjson/en-US/resources.resjson | 2 +- Tasks/VsTest/task.loc.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Tasks/VsTest/Strings/resources.resjson/en-US/resources.resjson b/Tasks/VsTest/Strings/resources.resjson/en-US/resources.resjson index 318d18b0c15a..c2b166149b30 100644 --- a/Tasks/VsTest/Strings/resources.resjson/en-US/resources.resjson +++ b/Tasks/VsTest/Strings/resources.resjson/en-US/resources.resjson @@ -38,7 +38,7 @@ "loc.input.label.overrideTestrunParameters": "Override test run parameters", "loc.input.help.overrideTestrunParameters": "Override parameters defined in the TestRunParameters section of runsettings file. For example: `-key1 value1 -key2 value2`", "loc.input.label.runInParallel": "Run tests in parallel on multi-core machines", - "loc.input.help.runInParallel": "If set, tests will run in parallel leveraging available cores of the machine. [Click here](https://msdn.microsoft.com/library/jj159530.aspx) to learn more about how tests are run in parallel.", + "loc.input.help.runInParallel": "If set, tests will run in parallel leveraging available cores of the machine. [Click here](https://aka.ms/paralleltestexecution) to learn more about how tests are run in parallel.", "loc.input.label.runTestsInIsolation": "Run tests in isolation", "loc.input.help.runTestsInIsolation": "Runs the tests in an isolated process. This makes vstest.console.exe process less likely to be stopped on an error in the tests, but tests might run slower. This option currently cannot be used when running with the multi-agent phase setting.", "loc.input.label.pathtoCustomTestAdapters": "Path to custom test adapters", diff --git a/Tasks/VsTest/task.loc.json b/Tasks/VsTest/task.loc.json index b1286f13b266..e4e96d383f41 100644 --- a/Tasks/VsTest/task.loc.json +++ b/Tasks/VsTest/task.loc.json @@ -17,7 +17,7 @@ "version": { "Major": 2, "Minor": 0, - "Patch": 29 + "Patch": 30 }, "demands": [ "vstest" From 7c7b5f406dd18804f98e634f8c2ac39fbd11aa10 Mon Sep 17 00:00:00 2001 From: Siddhartha Pandey Date: Wed, 19 Apr 2017 16:31:45 +0530 Subject: [PATCH 3/4] fixed readme --- Tasks/VsTest/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Tasks/VsTest/README.md b/Tasks/VsTest/README.md index b9767e10467c..a657dac7ed8b 100644 --- a/Tasks/VsTest/README.md +++ b/Tasks/VsTest/README.md @@ -56,6 +56,7 @@ The feature is presently scoped to the following: - No UWP support. + #### Advanced Execution Options - **VSTest version:** Choose which version of Visual Studio (vstest.console.exe) to run tests with. From 661f05e0fdf9f0519ca8cccd3f2c1aaaca184587 Mon Sep 17 00:00:00 2001 From: Siddhartha Pandey Date: Wed, 19 Apr 2017 16:32:55 +0530 Subject: [PATCH 4/4] fix readme --- Tasks/VsTest/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Tasks/VsTest/README.md b/Tasks/VsTest/README.md index a657dac7ed8b..12e97430dbaa 100644 --- a/Tasks/VsTest/README.md +++ b/Tasks/VsTest/README.md @@ -55,6 +55,7 @@ The feature is presently scoped to the following: - No xplat support (Windows only). - No UWP support. + Learn more about Test Impact [here](https://aka.ms/tialearnmore) #### Advanced Execution Options