Requirements traceability matrix

A table that links each requirement to the design, the work, and the tests that cover it, so nothing is forgotten or left untested.

What is a requirements traceability matrix?

Each row is a requirement. The columns link it to a design item, the user story or task that builds it, the test case that checks it, and its current status.

Empty cells show gaps: a requirement nobody designed, built, or tested. The matrix also works in reverse: from a failed test, you can see which requirement is at risk.

Example requirements traceability matrix: Five requirements traced to design items, user stories, and test cases; one has no test and one has failed.
  1. Requirement. One row for each requirement.
  2. Design. The design item that covers it.
  3. Test case. The test that checks it.
  4. Status. Passed, failed, or not yet tested.
  5. Gap. R-03 has no test case.

When to use a requirements traceability matrix

Good fit

  • Regulated industries such as medical devices, pharma, aerospace, and automotive
  • Contracts with formal acceptance
  • Large software projects
  • Audits that require proof of testing

Consider something else

Advantages and limitations

Advantages

  • Proves every requirement is covered
  • Shows the impact of a change or failed test
  • Required by many standards
  • Makes acceptance easier

Limitations

  • Hard to keep up to date by hand
  • Large and dull to read
  • Adds overhead to small projects
  • Only as good as the links people maintain

Tools for making a requirements traceability matrix

Tools that link requirements, work items, and tests keep the matrix current; a sheet works for small projects.

Spreadsheets and grids

For smaller projects.

Hover over a tool to see how it makes the chart; each tool’s page has the details. Built in: part of the product. Template: ready-made, you fill it in. Build it yourself: made with shapes, tables, or standard charts. Add-on: needs an add-on, integration, or paid module. Data only: keeps the data; the chart is drawn elsewhere.

Tools are grouped by how teams work, not ranked. Features and plans change, so check the details on each vendor’s site.

FAQ

What is forward and backward traceability?

Forward traceability follows a requirement to its design, build, and tests. Backward traceability goes from a test or piece of work back to the requirement it serves, which helps find work nobody asked for.

When should the RTM be created?

As soon as requirements are agreed, then updated as design, build, and testing progress.

Is an RTM needed in agile projects?

In regulated environments, often yes. Linking user stories to acceptance tests in the work tracking tool can produce it without a separate spreadsheet.