Sunday 24 November 2013

Forward and Reverse Traceability Matrix.


Traceability matrix is a document that maps and traces user requirement with the test cases. Main motto to make sure all requirement are covered in test cases so while testing no functionality can be missed.
Traceability Matrix is used in entire software development life cycle phases:
  • Risk Analysis phase
  • Requirements Analysis and Specification phase
  • Design Analysis and Specification phase
  • Source Code Analysis, Unit Testing & Integration Testing phase
  • Validation – System Testing, Functional Testing phase
Types of traceability matrix
1: forward traceability = Mapping of requirements to test cases. It ensures proper direction of the evolving product (that we are building the right product) 
Req. Capture -> Design Document -> Test Cases .Tracing each unique product requirement forward into the design that implements that requirement, the code that implements that design and the tests that validate that requirement and so on. The objective is to ensure that each requirement is implemented in the product and that each requirement is thoroughly tested.
2: Reverse or backward traceability = mapping of test cases to requirement.Used for to check the end product has met the requirements or not. Backwards traceability helps ensure that the evolving product remains on the correct track with regards to the original requirements (that we are building the product right). The objective is to ensure that we are not expanding the scope of the project by adding design elements, code, tests or other work products that are not called out in the requirements (i.e., “gold plating”).
Test Cases -> Design -> Req. Capture 


3: Bi Directional traceability = Forward traceability+ backward traceability.
Benefits of bi-directional requirements traceability include the ability to:
• Analyze the impact of a change
− All work products affected by a changed requirement
− All requirements affected by a change or defect in a work product
• Assess current status of the requirements and the project
− Identify missing requirements
− Identify gold plating or extras

No comments:

Post a Comment