TemplateExcel · 3 sheets

Requirement traceability matrix (RTM) template

An Excel sheet with 8 example requirements from a login feature, linked to real test cases, plus a coverage summary that updates by itself.

Preview of the Requirement traceability matrix (RTM) template Excel file

What an RTM is for

An RTM is a table that answers one question: is every requirement tested? Each row is one requirement. Next to it you write the test cases that check it, how those tests went, and any bugs found. If a requirement has no test case, you can see the gap before the release, not after.

How to start

  1. Go to the RTM sheet and fill the light yellow cells at the top: project, release and your name.
  2. Read the 8 example rows for a Login feature. They match the examples in the TesterPath test case template. Replace them with your own.
  3. Add one requirement per row. Copy its ID and text from the user story, ticket or requirement document.
  4. In Test case IDs, list every test case that checks it, separated by commas: TC-LOGIN-01, TC-LOGIN-02
  5. After each test run, update Test status and Bug IDs. The Summary sheet updates by itself.

The 8 example rows a Login feature

They link to the test cases in the TesterPath test case template. Look at the last row: no test case yet, so it is not covered.

Req IDRequirementPriorityTest case IDsTest statusBug IDsCovered?
REQ-LOGIN-01User can log in with a registered email and the correct password.HighTC-LOGIN-01, TC-LOGIN-02Passed—Yes
REQ-LOGIN-02Wrong email or password shows one general error. It must not say which one was wrong.HighTC-LOGIN-02, TC-LOGIN-04Passed—Yes
REQ-LOGIN-03Empty Email or Password shows a “required” message under that field.
No message shown. Retest when BUG-101 is fixed.
MediumTC-LOGIN-03FailedBUG-101Yes
REQ-LOGIN-04Password is hidden while typing.MediumTC-LOGIN-05Passed—Yes
REQ-LOGIN-05Account locks for 15 minutes after 5 wrong password tries.
Lock setting is off on QA. Dev team asked to turn it on.
HighTC-LOGIN-06Blocked—Yes
REQ-LOGIN-06“Forgot password?” link opens the reset password page.MediumTC-LOGIN-07Passed—Yes
REQ-LOGIN-07After logout, the browser Back button must not show private pages.
Planned for the next test cycle.
HighTC-LOGIN-08Not run—Yes
REQ-LOGIN-08User can log in with a Google account.
No test case yet. Write one before the release.
Low—Not run—No

The Summary sheet updates by itself

For the 8 examples, the coverage summary shows:

8Requirements
7Covered
1Not covered
88%Coverage
4Passed
1Failed
1Blocked
2Not run

“High priority, not covered” is 0 here. It must be zero before a release.

What each column means

Req IDA short unique ID for the requirement, like REQ-LOGIN-01 or the ticket number.
RequirementOne clear sentence that says what the app must do.
SourceWhere the requirement comes from: user story, ticket, document and section.
PriorityHow important it is for the business. Pick High, Medium or Low.
Test case IDsThe test cases that check this requirement, separated by commas.
No. of testsCounted for you from the Test case IDs cell. Do not type here.
Test statusThe overall result for this requirement. Pick it from the dropdown.
Bug IDsBugs found while testing this requirement.
Covered?Yes if at least one test case is linked. Worked out for you. Do not type here.
NotesAnything useful: reason for Blocked, a link, a retest date.

Test status values

Not runNo linked test has been run yet.
PassedEvery linked test passed.
Partly passedSome linked tests passed, others are not run yet.
FailedAt least one linked test failed. Add the bug ID.
BlockedTests could not run, for example a setting or service was missing.

Good to know

  • Forward traceability: requirement → test cases. It shows that every requirement is tested.
  • Backward traceability: test case → requirement. It shows that every test has a reason to exist.
  • A requirement with many tests is not always well tested. Check that the tests cover both valid and invalid input.
  • Keep the RTM up to date during the cycle. An RTM filled in only at the end does not help anyone.

More templates

All files