Introduction
Requirement Traceability Matrix (RTM) is a crucial document in software testing. It ensures that all business requirements are covered by test cases.
What is Requirement Traceability Matrix (RTM)?
RTM is a document that maps requirements with corresponding test cases. It helps verify that every requirement is tested and validated.
Why RTM is Important
- Ensures complete requirement coverage
- Prevents missing functionality
- Helps track requirement changes
- Improves project transparency
- Supports audit and compliance
Types of RTM
- Forward Traceability: Requirement → Test Cases
- Backward Traceability: Test Cases → Requirement
- Bidirectional Traceability: Both directions mapping
RTM Sample Table
| Requirement ID | Requirement Description | Test Case ID | Status |
|---|---|---|---|
| REQ_001 | User should login with valid credentials | TC_Login_01 | Pass |
| REQ_002 | User should reset password | TC_Reset_01 | Pass |
| REQ_003 | User should complete payment | TC_Payment_01 | Fail |
How RTM is Created
- Collect requirements from BRD or SRS
- Assign unique Requirement IDs
- Create test cases
- Map test case IDs with requirement IDs
- Update execution status regularly
Advantages of RTM
- Ensures 100% requirement coverage
- Improves defect tracking
- Helps during audits
- Maintains testing transparency
RTM Interview Questions
What is RTM?
RTM is a document that maps requirements with test cases to ensure complete coverage.
What are types of RTM?
Forward, Backward and Bidirectional Traceability.
Why is RTM important?
It ensures no requirement is missed during testing.
Frequently Asked Questions
Who prepares RTM?
QA team prepares RTM.
Is RTM mandatory?
Yes, especially in structured and enterprise-level projects.