Test coverage

Test coverage

(testing)
A measure of the proportion of a program exercised by a test suite, usually expressed as a percentage. This will typically involve collecting information about which parts of a program are actually executed when running the test suite in order to identify which branches of conditional statements which have been taken.

The most basic level of test coverage is code coverage testing and the most methodical is path coverage testing. Some intermediate levels of test coverage exist, but are rarely used.

The standard Unix tool for measuring test coverage is tcov, which annotates C or Fortran source with the results of a test coverage analysis. GCT is a GNU equivalent.
This article is provided by FOLDOC - Free Online Dictionary of Computing (foldoc.org)
Mentioned in
Copyright © 2003-2025 Farlex, Inc Disclaimer
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional.