Test Coverage (computing)
The term Test Coverage used in the context of programming / software engineering, refers to measuring how much a software program has been exercised by tests. Coverage is a means of determining the rigour with which the question underlying the test has been answered. There are many kinds of test coverage:
- code coverage,
- feature coverage,
- scenario coverage,
- screen item coverage
- model coverage.
Each of these coverage types assumes that some kind of baseline exists which defines the system under test. The number of types of test coverage therefore varies as the number of ways of defining the system.
For example, in code coverage:
- has a particular statement ever been executed?
- how many times has a statement been executed?
- have all the statements in a program been executed, at least once?
- have all the decision points in the code been exercised such that every decision path has been taken?
- has the last optimization reduced the instruction path length significantly?
Read more about this topic: Fault Coverage
Famous quotes containing the word test:
“The test of a first-rate intelligence is the ability to hold two opposed ideas in the mind at the same time, and still retain the ability to function.”
—F. Scott Fitzgerald (18961940)