Requirements traceability matrix for Azure DevOps
Traceability Matrix shows, for any sprint or release, which requirements have test cases and how those tests last ran. Free, read only, and nothing leaves your Azure DevOps.
Which stories are tested, and did the tests pass?
Before a sprint review, a release or an audit, someone asks for a requirements traceability matrix: every requirement, the test cases that cover it, and how those tests last ran. Azure DevOps holds all of it. Requirements link to test cases with Tested By, and Test Plans records every result. It just never puts them side by side.
Without a tool, you run a work items and direct links query to find the stories with no Tested By link, then open the test cases of each story in Test Plans to read its latest result, plan by plan, and copy everything into a spreadsheet. The spreadsheet is out of date by the next test run.
What the matrix shows
Open Boards > Traceability and pick an iteration. For every backlog item in it (User Story, Product Backlog Item, Requirement or Issue, in any process) the matrix lists:
- the Test Cases linked to it with Tested By,
- the latest recorded result of each test case in any test plan: Passed, Failed, Blocked or Not run, with plan, configuration and date,
- a status per requirement: No test cases, Failing, Blocked, Not run, Partly run or Passing.
A summary gives the coverage percentage and a count per status. Click a count to see just those stories, and Export CSV writes one line per requirement with its tests and results.
Set it up in three steps
- Install Traceability Matrix from the Visual Studio Marketplace into your organization. It asks only to read work items and test plans.
- Link test cases to their requirements with Tested By, if you do not already. A test case added to a requirement-based suite is linked this way.
- Open Boards > Traceability, pick the sprint or release iteration, and click No test cases to see the gaps.
Limits
- It reads one iteration at a time, and counts test cases linked with Tested By. A test case that is only in a suite, with no link, does not count.
- Coverage works for everyone who can read work items. Test results need read access to test plans; without it the matrix still shows coverage and marks results as Not run.
- It is a live view and a CSV export, not a signed report. If your audit needs one, see below.
Audit evidence pack
We are considering a paid add-on for teams that have to prove coverage to an auditor: a dated, signed PDF or Word traceability report per release, with the gaps and every test result in it.
It does not exist yet, and we will only build it for teams that need it. If yours does, join the waitlist by email and tell us what your audit asks for.
No test cases yet?
Borsch, also from IK Lab, drafts test cases from a user story and links them with Tested By, so they appear in the matrix.
Privacy
Traceability Matrix reads work items and test plans to draw the matrix and build the CSV export, in your browser. Like every free IK Lab extension, it runs in your browser, has no backend and sends nothing to IK Lab or anyone else. The details are in the privacy policy.
Install Traceability Matrix
Free on the Visual Studio Marketplace, with no sign-up, for Azure DevOps Services and Azure DevOps Server 2020 and later.