Worked example

Traceability matrix example

One of six documents for the same invented project: a mobile app that lets field technicians close jobs with no signal. The company and its figures are made up. The structure is the one Skemia drafts to.

This matrix stands as at Friday 26 February 2027, project week 15 of 18, at the end of the two crew pilot and on the day of gate 2. It traces each requirement in the functional specification to the story that describes it, the test case that proves it, and the state that test is in, and it prints the one requirement where that chain is broken. Go-live is Friday 19 March 2027.

Requirement coverage

Nineteen of the twenty requirements carry a story and at least one test case. Every story on the sheet, US-1 to US-14, appears below, so there is no story without a requirement behind it either. Test cases are executed against the pilot build unless a note says otherwise.

RequirementDescriptionUser storyTest caseStatus
FR-1Open an assigned job with no network connectionUS-1TC-1, TC-2Passed
FR-2Record labour time in five minute units, rounding upUS-3TC-3, TC-4Passed
FR-3Record parts used from the Sage 200 list held on the deviceUS-4TC-5, TC-6Passed
FR-4Capture a customer signature at job completionUS-7TC-7, TC-8Passed
FR-5Queue completed jobs and transmit when a connection returnsUS-1TC-9, TC-10Passed
FR-6Post a completed job to Sage 200 within 15 minutes of receiptUS-12TC-11Passed
FR-7Reassign a job to another technician before it is startedUS-9TC-12, TC-13Passed
FR-8Show a dispatcher the live status of every job todayUS-10TC-14Passed
FR-9Import the day's assignments and refresh them on demandUS-8TC-15, TC-16Passed
FR-10Download jobs, site details, parts and fault codes to the deviceUS-2TC-17Passed
FR-11Record a fault code and a description of the work doneUS-5TC-18, TC-19Passed
FR-12Attach photographs offline and transmit them with the jobUS-6TC-20, TC-21Failed, retest
FR-13Give every job a device identifier and ignore a repeatUS-12TC-22Passed
FR-14Hold a failed or conflicting job in the review queueUS-11TC-23, TC-24Passed
FR-15Accept, amend or reject a held job, recording who and whyUS-11TC-25Passed with note
FR-16Sign in on the device and keep working offline for the shiftUS-2TC-26, TC-27Passed
FR-17List every job that failed to post, with the reasonUS-13TC-28Passed
FR-18Retry a failed posting once the cause is correctedUS-13TC-29In test
FR-19Report elapsed time from completion to Sage 200 postingUS-14TC-30In test
FR-20Record a technician note for the dispatcherNot covered

Sixteen of the twenty requirements have passed, one has failed and is in retest, two are still in test, and one is not covered at all. Every Must requirement in the specification has passed except FR-12.

Gaps and exceptions

The gap: FR-20 has no story and no test. FR-20, a technician note to the dispatcher, is the specification's single Could requirement, which means it is built only if it costs nothing to build. At gate 2 it has not been built, no story was written for it, and no test case exists. Nothing else depends on it: BR-5 was deliberately written to lean on FR-11 rather than FR-20, precisely so that a Must rule would not rest on a requirement that might never exist. The decision belongs to the Operations Director at gate 2, and there are only two honest endings. Either FR-20 is dropped and the specification is amended so this row reads closed rather than open, or it is scheduled after go-live and a story is written for it. What must not happen is that it sits here, uncovered and undecided, until somebody at the benefit review assumes it was delivered.

FR-12 failed and is in retest. Photographs attached with no connection stored and transmitted correctly. A transmission interrupted at three of four photographs restarted from the first rather than resuming, which is NFR-5 rather than FR-12 itself, but TC-21 is the test that found it and FR-12 carries the failure until it passes. The fix is scheduled in week 16 and TC-20 and TC-21 are re-run before go-live on 19 March 2027. Until they pass, BR-12 holds the job back and nothing is invoiced from partial evidence, so the defect delays an invoice rather than producing a wrong one.

FR-15 passed with a note. The pilot build accepted an empty resolution note when a dispatcher cleared a held job. The specification requires who, when and why, so the reason is now mandatory and cannot be left blank. TC-25 passed on the corrected build on Thursday 25 February 2027.

FR-18 and FR-19 are still in test. Both are Should requirements and both need volume the two crew pilot did not produce: a genuinely failed Sage 200 posting to retry, and a date range holding enough posted jobs to report on. Both are scheduled for week 19, commencing Monday 22 March 2027, the first full week after go-live. Neither blocks gate 2, and both are named here rather than left as an assumption that they work.

How this matrix is kept

The matrix is written once the specification is approved, with the story and requirement columns filled and the test and status columns empty. Test cases are added as they are written, and the status column is filled only by the person who ran the test. It is reviewed at gate 2 and again at the benefit review in week 30, when the question is no longer whether a requirement was built but whether it was used.

A requirement with no story is a requirement nobody has thought about from the user's side. A requirement with no test is a claim. Both are worth printing rather than tidying away, which is why FR-20 has a row of its own with three empty cells instead of being quietly removed.

Skemia fills this in from your project context in about three hours. skemia.co.za