What is the difference between a test coverage matrix and a traceability matrix?
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.
Dig deeper on Software Testing and QA Fundamentals
Related Q&A from John Overbaugh
Learn what's behind AWS outages and how to fix failures before they happen.continue reading
Learn strategies for best security test strategies for SaaS cloud.continue reading
Expert John Overbaugh identifies the three top concerns of the test manager and offers advice on how to stay ahead of the curve when it comes to ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.