April 16, 2020

How to create Azure DevOps Test plans?

Create test plans and test suites to track manual testing for sprints or milestones. That way, you can see when the testing for a specific sprint or milestone is complete. For more information about manual testing,

What are test plans, test suites, and test cases?

Azure Test Plans or the Test hub in Azure DevOps Server provides three main types of test management artifacts: test plans, test suites, and test cases. These elements are stored in your work repository as special types of work items. You can export and share them with your team, and benefit from close integration for all of your DevOps tasks.

What are test plans, test suites, and test cases?

Azure Test Plans or the Test hub in Azure DevOps Server (see Web portal navigation) provides three main types of test management artifacts: test plans, test suites, and test cases. These elements are stored in your work repository as special types of work items. You can export and share them with your team, and benefit from close integration for all of your DevOps tasks.

After you create your test plan, you assign test configurations and assign testers to cover the required test matrix. These testers run the tests and gauge the quality of the product. Testers continue testing until the product meets exit criteria. For the next development cycle and release, you can create a new test plan and reuse the same test cases. You repeat this development-test-release cycle by importing the same test cases into each new test plan.

Get practical knowledge on Azure DevOps at DevOps Online Training

The great thing is that, because test plans refer to test cases, updates to a test case automatically reflect in all the test plans and test suites that use it.

Create a project

  1. Login dev.azure.com as azure account.
  2. Click “Start Free”.
  3. Your resource is shown, so create a project.

New Test Plan

Fill all items.

Create test cases

  1. Add test suites and tests
  2. You can use following features when creates test case
    * Add tag : It is can be queried by this tag.
    * Add Priority : 1(High important) — 4(Low important)
    * Add Attachments
    * Add link (relate to another test case, bug, build etc…)

Query-Based suite / Requirement-Based suite
You can put existing test cases into one suite by above 2 ways.

Run test

  1. Select the test suite and click “show tests from child suites”
  2. Select “Assign testers to run all tests” from menu of the test suite.
  3. Assign tester. Multiple testers can be set.
  4. Click Run test from menu of the test suite.(If you select “Run with option”, you can associate the test to build.)
  5. Test runner opens. Let’s test it fun!
  6. Save and close the test runner when you finish the test. It can also be interrupted and restarted. (Pause test > Resume test)

Confirm results

You can check the latest result from test plan > charts. Add charts as you like.

You can also check past output from “Runs”.

You can also confirm the past runs.

Get more live information with live experts at DevOps Training