Middle
What is a trace matrix and how is it formed?
sobes.tech AI
Answer from AI
Traceability matrix is a table that links requirements (software requirements, specifications) with test cases, ensuring coverage of all requirements by tests.
It is formed as follows:
- Requirements or functional elements are listed in the rows of the matrix.
- Test scenarios or test cases are listed in the columns.
- Cells indicate which tests cover which requirements (for example, with a checkmark or link).
This helps to:
- Verify that all requirements are covered by tests.
- Track which tests need to be run when requirements change.
- Ensure transparency and completeness of testing.
Example:
| Requirement | Test 1 | Test 2 | Test 3 |
|---|---|---|---|
| Req 1 | ✓ | ✓ | |
| Req 2 | ✓ | ||
| Req 3 | ✓ | ✓ |