Table of Contents

Last updated

Test Management

Test management lives in the workspace. It connects what you plan to verify with the work items you deliver.

Test cases in a workspace

The test management workflow

Test management uses four objects:

ObjectPurpose
Test caseDescribes one thing to check.
Test planGroups the test cases that run together.
Test runExecutes a plan and records the results.
Test run templateStores a reusable run configuration.

A typical flow is:

  1. Write test cases.
  2. Group related cases into a test plan.
  3. Create a test run from the plan.
  4. Execute the run and record the results.
  5. Link failures to work items.
  6. Review coverage and reports.

Where the module lives

The workspace sidebar has these test management pages:

  • Test Cases
  • Test Plans
  • Templates
  • Test Runs
  • Reports

The coverage report is a tab on the Reports page.

What each page covers

Agent-driven authoring

An agent can author test cases when its profile grants the test tools. The available tools create, update, archive, and bulk-edit test cases, and read an item’s test coverage. Agent-authored changes use the agent’s own permissions, like any other API client.

Give the agent test.manage for authoring and test.view for coverage reads. See Coding Agents.

Permissions

PermissionAllows
test.viewView test cases, plans, runs, templates, and reports in the workspace.
test.executeExecute test runs and record results.
test.manageManage test cases, folders, plans, and templates.

API tokens also need the relevant tests:read or tests:write scope. A token scope does not grant the workspace permissions above.