Test coverage matrix vs. traceability matrix

Test coverage matrix vs. traceability matrix

What is the difference between a test coverage matrix and a traceability matrix?

    Requires Free Membership to View

    When you register, you'll receive targeted emails designed to keep you informed of the most relevant information on Agile development, application security, testing & QA, software requirements, and more.

    Hannah Smalltree, Editorial Director

    By submitting your registration information to SearchSoftwareQuality.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchSoftwareQuality.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

In common use, the terms test coverage matrix and traceability matrix are interchangeable. RTVM (Requirements Traceability Verification Matrix) is the concept of tying requirements to test cases, ensuring that each requirement has one or more test cases associated with it. Generally, when referring to "test coverage," this is what is being discussed. Based on the percentage of test cases executed, a project team can estimate the test coverage provided (some tools which provide an automated traceability relationship between test cases and requirements can, in fact, analyze actual requirements coverage to provide a more business-oriented perspective into the project status.

Another less common use of the term coverage matrix refers to the coverage a suite of tests provides on a given application (automated or manually executed). Typically this is measured by instrumenting a build for code coverage, exercising the tests, then analyzing the results of the code coverage tool. There are a number of code coverage tools available, from Visual Studio's built-in code coverage functionality to Clover, a commonly used tool for Java code coverage analysis.

Also see Karen Johnson's advice on using the trace matrix as an indicator of test coverage.

This was first published in January 2009