ADO Local Pre-release

Manual

Test Plans

See how a Test Plan is going, give its Test Points their outcomes many at a time, and run Test Cases step by step, filing a Bug from the step that failed. Test Plans are the same ones the website shows, and what you record here is recorded in Azure DevOps.

Test Plans in a Project

Each Project in the sidebar has Test Plans. It lists the Project's plans grouped by Iteration, the current Iteration first, each with its Iteration, Area, owner and State.

A Project's Test Plans grouped by Iteration, the current one first, with each plan's Iteration, Area, owner, State and progress
Test Plans by Iteration. A plan you've opened here shows its progress.

The command palette finds Test Plans in each Project and each plan by its name. Plans are made and set up on the website: Open in browser takes you there.

A plan, its suites and Test Points

Open a plan to see its suite tree on the left, each suite with a bar for its progress, and on the right the suite you've chosen with its own Test Points. The first suite with Test Points of its own is shown to start with.

A Test Plan: its suite tree with progress bars, and a requirement-based suite's Test Points with their Test Case, configuration, tester, outcome and last run
A requirement-based suite: the PBI it tests, its progress, and each Test Point's outcome.

Give Test Points an outcome

You can mark one Test Point, or many at once, without opening the Test Runner: useful when you've tested something by hand and want to record it.

  1. Choose the Test Points. Click one; ⌘-click or ⇧-click to add others; or move with the arrows and press X (or Space) to tick each one. ⇧↑ and ⇧↓ extend the selection, and ⌘A chooses them all.
  2. Press the outcome's key, or click its button above the list: P Pass, F Fail, B Block, N N/A (not applicable), or R Reset to not run.
  3. To add a comment, hold ⇧ with the key, or click Comment…. The comment goes on each Test Point's result.
Two Test Points selected and marked Failed, with a message offering Undo and the outcome keys along the bottom
Two Test Points failed at once. The message offers Undo; the keys are along the bottom.

Azure DevOps records the outcomes in a run of their own, as the website does. The points change in place, and a message offers Undo, which gives them their earlier outcomes again in a new run. Esc clears the selection.

Run tests in the Test Runner

To step through a Test Case as you test it, choose its Test Points and click Run (⌘↵). The Test Runner opens over the window and takes the points one at a time ("2 of 4"), with Previous and Next in its header.

The Test Runner: a Test Case with its configuration, its steps each with what to do, what should happen and Pass and Fail, then the outcome, a comment, and Save & close and Save & next
The Test Runner on the second of four Test Points.

For each Test Point it shows the Test Case and its configuration, who it's assigned to, how it did before, and the PBI it tests. Then its steps: each step's action and the result expected. Shared Steps are read in and can't be changed here; parameters are shown as they're written.

  1. Work down the steps. P passes the step you're on and moves to the next; F fails it and opens a comment for what went wrong. ↑ and ↓ move between steps; you can also click Pass and Fail.
  2. Under Outcome, choose Passed, Failed, Blocked or Not applicable. It's suggested from the steps, so a failed step suggests Failed.
  3. Add a comment on the result if you like.
  4. Click Save & next (⌘↵) to save this point and go on to the next one not saved yet, or Save & close.

Saving sets the point's outcome and puts the step results, the comment and any Bugs on its result. Results you haven't saved are kept while you move between the points. Closing the runner with any left unsaved asks first; Discard results sends nothing for them.

File a Bug from a failed step

A step failed in the Test Runner, with a comment saying what happened
A failed step, with what happened written under it.
  1. Fail the step, and write in its comment what happened.
  2. Click Create Bug on the step. Its title is filled in from the Test Case and the step; change it if you like.
  3. Click Create Bug again to make it.
Create Bug on a failed step: the new Bug's title, filled in from the Test Case and the step, with Cancel and Create Bug
The new Bug's title, filled in from the Test Case and the failed step.

The Bug is made with the steps to reproduce it, linked to the Test Case it failed in (Tested By) and to the PBI (Related), and put on the Test Point's result when you save. It opens in the Work Item panel when the runner closes.

A Test Case's steps

A Test Case's Work Item panel shows its Steps, each with its action and expected result, in place of the Steps Field's raw text.

A PBI's panel with its Tests beside a Test Case's panel with its two Steps and Edit steps
A Test Case's Steps (right), opened from the Tests of the PBI it tests (middle).
  1. Click Edit steps.
  2. Change any step's action and expected result; they're rich text, like other text Fields. Insert a step below one, delete one, or reorder them by dragging a step's handle, or with ⌥↑ and ⌥↓ on it.
  3. Click Save steps.

The steps are saved together, as one change to the Test Case, and each keeps its identity, so earlier runs' step results still find theirs. If someone else changed the steps meanwhile, you're asked which to keep, as for any Field. Shared Steps and parameters are shown as written, and can't be changed here.

A PBI's tests

A PBI's (or User Story's, or Requirement's) Work Item panel has Tests: the Test Cases that test it, each with its latest outcome in each configuration across every Test Plan, and which plan that was in.

A User Story's Tests: two Test Cases, each with its outcome on Chrome on Windows and Safari on macOS, a Run button on each and Run all
Tests on a User Story: each Test Case by configuration, with Run on each and Run all.

Offline

A Test Plan you've opened shows offline as it was kept, marked as stale. Its outcomes and Run are off until you're back online, and say why. A PBI's Tests show as last read; running them needs a connection. A Test Case's steps are read only offline.

Tests and release readiness

A release pipeline's readiness takes the tests into account. A release counts as ready only when its PBIs' Test Cases have passed (or don't apply); a Test Case that failed, is blocked or hasn't been run holds the release back, and the release pipelines list says which.

Release pipelines with each one's latest release, its stages and its readiness, such as Ready: Release-28 and Not ready: 2 PBIs open
Release pipelines, each marked with its newest release that's ready.

A release's panel has a Tests section with each PBI's Test Cases and their outcomes. A Test Case opens in a panel, and Run opens the Test Runner on it. Comparing two releases shows each PBI's and Bug's tests, and the release notes include a line on them. Pipelines and releases tells you more about release readiness.

Personal Access Token

Test Plans need Test Management: Read & write.