Requirements Traceability Matrix (RTM)

Requirements Traceability Matrix (RTM)

Requirements Traceability Matrix (RTM) is a document which maps requirements with test cases to ensure that for each and every requirement adequate level of testing is being achieved. It captures all the requirements proposed by the clients in a single document and validate that all requirements are correctly mapped with test cases.

The purpose of the Requirements Traceability Matrix (RTM) is to ensure that all requirements defined for a system are tested in the test protocols (collections of Test Cases which check a specific element of the system). This helps to ensure complete test coverage of the system.

In Software Engineering, traceability matrix can be divided into three major component as mentioned below:

  • Forward Traceability
No alt text provided for this image

Mapping requirements to test cases is called Forward Traceability Matrix. It is used to ensure whether the project progresses in the desired direction. It makes sure that each requirement is tested thoroughly.

  • Backword Traceability
No alt text provided for this image

Mapping test cases to requirements is called Backward Traceability Matrix. It is used to ensure whether the current product remains on the right track. It makes sure that we are not expanding the scope of the project by adding functionality that is not specified in the requirements.

  • Bi-directional traceability (Forward + Backward)
No alt text provided for this image

Mapping requirements to test cases (forward traceability) and test cases to requirements (backward traceability) is called Bi-directional Traceability Matrix. It is used to ensure that all the specified requirements have appropriate test cases and vice versa.

As mentioned above Requirements Traceability Matrix (RTM) is very useful in software testing. This assures good ‘Quality’ of the application as all the features are tested some major advantages of RTM are,

  • 100% test coverage
  • Requirement Traceability Matrix helps to link the requirements, test cases and defects accurately.
  • Defect Leakages are prevented as a whole of the application is tested for its requirements.
  • It allows to identify the missing functionality easily
  • It allows to identify the test cases which needs to be updated in case of change in requirement
  • It is easy to track the overall test execution status

Sample Requirements Traceability Matrix (RTM) Template :

No alt text provided for this image

References :

To view or add a comment, sign in

More articles by Thilini Chamaree

  • Usability Testing and Heuristic Evaluation

    There are so many testing types available in the software testing. Usability testing is defined as a "type of software…

    3 Comments
  • XPath in Selenium

    In Selenium automation, Some time we couldn't find the web element by using general locators like id, class, name, etc.…

  • Mobile App Testing Checklist

    Mobile App Testing is very important part of the testing. Android & iOS are the most popular mobile OS s.

    7 Comments
  • Types of Testing

    Software testing is the process of executing a program or application with the intent of finding the software bugs. In…

    3 Comments
  • My View on QA

    Software Quality Assurance Engineers are typically involved in the entire software development process to ensure the…

    4 Comments

Insights from the community

Others also viewed

Explore topics