A requirements traceability matrix is a table that links each requirement to the design, tests and results that show it was met. It answers two questions: which requirement does this test cover, and which tests cover this requirement. In our view, teams facing audits or contracts keep one as evidence; others read the answer from their tracker.
What does a requirements traceability matrix contain?
One row per requirement, and a link from each to what proves it. NASA’s software handbook, in its bidirectional traceability requirement, describes the artifact as “a structured table or database providing links between requirements, designs, implementations, and test cases”. The ISTQB Foundation Level syllabus asks for traceability between the test basis, the testware, the test results and the defects.
The matrix below is built for a checkout feature. The rows are invented to show the shape; they are not from a client or a real project.
| Requirement | Acceptance criterion | Test | Type | Last result | Gap |
|---|---|---|---|---|---|
| R1: Pay by card | Valid card is charged once | T-101 | Automated, API | Pass | None |
| R2: Decline invalid cards | Expired card is declined with a message | T-102 | Manual | Pass | None |
| R3: Apply a voucher | Voucher cannot be used twice | T-140 | Automated, UI | Fail | Open defect |
| R4: Refund an order | Refund returns to the original card | none | none | Not run | No test |
| R5: Email a receipt | Receipt arrives within one minute | T-160 | Automated, API | Pass | Timing not checked |
The last two rows are the point. A matrix is useful when it shows what has no test (R4) and where a test is weaker than the requirement (R5), not when it shows green rows.
Which kinds of traceability are there?
Our naming, which tools and teams vary: the three forms differ by the question they answer.
| Form | Direction | Question it answers |
|---|---|---|
| Forward | Requirement to tests and results | Is this requirement tested, and did it pass? |
| Backward | Test to requirement | Why does this test exist, and what does a failure put at risk? |
| Bidirectional | Both | Which requirements have no test, and which tests serve no requirement? |
The NASA page defines bidirectional traceability by quoting ISO vocabulary: an “association among two or more logical entities that are discernible in either direction”. The syllabus lists what the links buy you: coverage evaluation, impact analysis of changes, audits and IT governance. For how a single check is written, see test case; for the criteria a row points to, see acceptance criteria.
Do you need a traceability matrix, or does your test management tool already give you one?
Our rule of thumb, which is judgment: decide by who asks for the evidence.
- Someone outside the team asks. A regulator, a customer contract or an auditor wants the links on paper. NASA’s requirement SWE-052, as its handbook records it, has project managers maintain bidirectional traceability between listed software elements, with the required links depending on software classification. Keep a matrix, and generate it from your tool when you can.
- Only your own team asks. Links in the tracker are enough. Microsoft documents how Azure DevOps links work items, commits, pull requests, builds and releases, and how Azure Test Plans ties test cases and suites to stories, features and requirements. GitHub can link a pull request to an issue with a keyword.
- You do not know which applies. Pick one release and try to answer, for each requirement, “which test covers it, and what was the last result?” If answering takes more than an hour, you have a gap whether or not you need paper.
If you cannot answer that question for a release today, our QA audit and assessment is the matching service: a one-week QA audit of one product area (its tests, pipeline and release process).
What breaks a traceability matrix?
Five failures, from our reading of how these documents decay:
- Stale links. A requirement changes and its tests do not. The matrix still shows a pass, for a requirement that no longer exists in that form.
- One-to-many gaps. One requirement needs several tests, or one test serves several requirements. A single link per row hides the uncovered half.
- Hand-kept spreadsheets. The sheet is accurate on the day it is built, and then each release makes it older.
- Tests with no requirement. Backward traceability finds them. They may be useful, or they may be debris that costs run time.
- AI-generated tests that cite nothing. A generated suite can be large and still trace to no requirement. Ask for the link at the time of generation, not afterwards.
A quality gate can make some of this automatic: block a release when a requirement tagged for it has no passing test. More on the planning side is in our post on automation test plans, and on how requirements, frameworks and suites fit in putting the framework puzzle together. If your criteria are written as examples first, acceptance test-driven development produces the links as a side effect.
What does AI change, and what does it not solve?
AI can read a requirements document and a list of test names and propose which belongs to which. That saves the first pass on an old project. What it does not solve is the judgment the matrix exists for. A proposed link says a test sounds related, not that it checks the requirement. Our view: a model proposes links from what exists, so it is a weak finder of the row that counts, the requirement with no test. Let AI draft the links, then have a person review the gaps first and the links second. Do not hand an auditor a matrix that no person has checked.
What does Zapple.Tech do about it?
If nobody can say which tests stand behind a requirement, start with the evidence. Zapple.Tech starts with a one-week QA audit of one product area. It looks at its tests, pipeline and release process, and ends in a written report on what is at risk and what to fix first, plus a pilot plan you can run with Zapple.Tech or without it. Read more on the QA audit and assessment page. Tell us about your product in the form below.
How does requirements traceability matrix relate to other terms?
- Test case
A test case is one specified check of the software: the conditions it starts from, the inputs and steps, and the result expected. It can be run by a person or by a tool. A good one is traceable to a requirement and states its expected result, so you and a colleague running it reach the same verdict.
- Quality gate
Quality gates are conditions a code change must meet before it moves to the next stage, such as a merge or a release. Passing tests, no new serious findings and an approving review are typical. A gate turns "ready" from an opinion into a rule your pipeline can enforce, and an agreed override stops your team switching it off.
- QA audit
A QA audit is a structured review of how a team tests: its tests, pipeline and release process. It ends in findings that show where quality is at risk and what to change first. Our QA audit services take about one week for one product area and end in a written report and a pilot plan.
- Acceptance criteria
Acceptance criteria are the conditions that an implementation of a user story must meet to be accepted by stakeholders. The ISTQB syllabus says they may be viewed as the test conditions the tests should exercise. Written well, each one states an outcome a check can observe, and each one becomes at least one test.
Sources
- ISTQB Certified Tester Foundation Level syllabus v4.0.1 (2024-09-15, newest edition read), section 1.4.4 (read 5 December 2026)
- NASA Software Engineering Handbook, SWE-052 Bidirectional Traceability (current handbook) (read 6 December 2026)
- Microsoft Learn, End-to-end traceability, Azure DevOps (last updated 2026-03-02) (read 6 December 2026)
- Microsoft Learn, What is Azure Test Plans? (last updated 2026-08-14) (read 6 December 2026)
- GitHub Docs, Linking a pull request to an issue (current docs) (read 5 December 2026)