English editorial draft / noindex

Requirements traceability: how to build a test matrix

Connect business rules to test cases, observed evidence, defects and release decisions.

Russian edition

Start with rule identifiers

A test matrix reveals which rules are actually checked and which are not covered. Take the agreed specification version, identify mandatory rules and assign stable identifiers. Do not limit the matrix to screen names: one rule can apply across interfaces, roles and integrations. Give every rule an observable criterion and a source.

Choose scenarios according to risk

For each rule, consider the normal flow, errors, boundaries and recovery. In an illustrative appointment rescheduling feature, R1 requires preserving the original appointment if the new slot is occupied. Consider success, occupied slot, repeated request, connectivity loss and an unauthorized role where relevant to the architecture. Mark inapplicable tests with an explanation instead of silently removing them.

Separate expected and observed behavior

A test case includes preconditions, action and expected result. The actual result, environment, version and evidence are recorded only after execution. Before that, its status is not run. A screenshot may confirm a visible message but not data integrity. Integrity might require controlled test records, a log or a state check through an authorized interface.

Handle defects and coverage gaps

When behavior differs from the requirement, create a reproducible defect linked to the rule, steps, observed behavior and impact. A code change alone does not close a defect; repeat the relevant test and dependent scenarios. Leave the status open when evidence is unavailable. The owner decides release risk against agreed conditions, not the number of green rows.

Illustrative report

In a fictional set of five tests, one might be not run, two passed, one blocked by an unavailable environment and one failed. This describes the structure of a report, not a real product. Requirement coverage and test execution rate measure different things. Even a fully passing test set does not establish that no unknown defects exist.

Prepare the acceptance package

Use Test Matrix to connect requirements and tests, Scenario Acceptance to record observed checks, and Release Gate to evaluate mandatory release conditions. Export the package to the work item with its source and version. Substantial decisions require an independent reviewer. Re-run affected tests when the rules, data or environment change.

Sources

Solo Founder Handbook 0.4.0 — internal editorial reference.

https://www.atlassian.com/agile/product-management/requirements/

https://owasp.org/www-project-application-security-verification-standard/

https://learn.microsoft.com/en-us/azure/devops/cross-service/end-to-end-traceability?view=azure-devops

Practical tool