Executing Automated tests in Build vNext using Test Plan, Test Suites

Atin Bansal

With Sprint 97 deployment on VSTS, users who haveĀ invested in planned testing using Test Plan, Test Suites can trigger automated runs in Build vNext. This functionality has been added to the Run Functional Tests task (formerly called Run Tests using Test Agent) as shown below. This functionality is also shippingĀ inĀ Team Foundation ServerĀ 2015 Update 2.Ā If you are new to testing in Build vNext, please see https://msdn.microsoft.com/en-us/library/vs/alm/test/continuous-testing/continuous-testing.

RunFunctionalTestsTaskwithTestPlanOption

Existing ‘Lab Build and Test’Ā workflow users will find the settings in the task familiar to theĀ Test section of the workflow. Once you choose Test Selection to be Test Plan, choose the Test Plan from which you want to run your tests. You can then select one or more test suites from a Tree view control followed by a Test Configuration.

TestSuiteTreeControl

In the Lab Build and Test workflow, you would choose a Test settings file that was stored in MTM. There were issues with this approach, including the fact that you could not use the same settings file to run tests in your IDE and your BDT workflow.Ā With Build vNext, we are enabling you to specify runsettings or testsettings file from the source code repo or from disk.

That’s it. YouĀ can queue yourĀ Build Definition and your automatedĀ tests from the suites selected will be run. Test results can we viewed in the same way asĀ results from Assembly based execution – in the Tests tab of the Build Summary page.

TestsSummary

To see the results per Test Suite, just select “Test Suite” in the “Group by” drop down

GroupBy TestSuite

Clicking on a Test Suite name will navigate you to the Test Hub where you can see the Test Plan, Test Suite and Test Cases andĀ the history of test case results

TestHub

0 comments

Discussion is closed.

Feedback usabilla icon