TY - GEN
T1 - Test Data Selection by Failure Coverage
AU - Ayad, Amani
AU - Mili, Ali
N1 - Publisher Copyright:
© 2026 Copyright held by the owner/author(s).
PY - 2026/7/10
Y1 - 2026/7/10
N2 - Statement coverage is a perfect measure of test suite effectiveness, but only if the purpose of a test suite is to cover statements. Likewise, branch coverage, condition coverage, line coverage, and mutation coverage, are all excellent measures of test suite effectiveness, but only if the purpose of a test suite is, respectively, to cover branches, cover conditions, cover lines, or kill mutants. But if we posit, as we do in this paper, that the purpose of a test suite is to expose the failures of an incorrect program (or, to give us confidence in the correctness of a correct program), then we ought to equate the effectiveness of a test suite with its ability to expose failures. In this paper we consider a failure based definition of test suite effectiveness, and we analyze its relationship to traditional criteria for test suite adequacy; unlike all existing adequacy metrics, failure coverage is not a number but an element of a partially ordered set, which is fitting, given that the relation of being a more effective test suite is itself a partial ordering. We find that traditional coverage metrics bear little statistical correlation to failure coverage.
AB - Statement coverage is a perfect measure of test suite effectiveness, but only if the purpose of a test suite is to cover statements. Likewise, branch coverage, condition coverage, line coverage, and mutation coverage, are all excellent measures of test suite effectiveness, but only if the purpose of a test suite is, respectively, to cover branches, cover conditions, cover lines, or kill mutants. But if we posit, as we do in this paper, that the purpose of a test suite is to expose the failures of an incorrect program (or, to give us confidence in the correctness of a correct program), then we ought to equate the effectiveness of a test suite with its ability to expose failures. In this paper we consider a failure based definition of test suite effectiveness, and we analyze its relationship to traditional criteria for test suite adequacy; unlike all existing adequacy metrics, failure coverage is not a number but an element of a partially ordered set, which is fitting, given that the relation of being a more effective test suite is itself a partial ordering. We find that traditional coverage metrics bear little statistical correlation to failure coverage.
KW - Errors
KW - Failure Coverage
KW - Failures
KW - Faults
KW - Test Adequacy
KW - Test Data Selection
UR - https://www.scopus.com/pages/publications/105045461311
U2 - 10.1145/3793656.3793695
DO - 10.1145/3793656.3793695
M3 - Conference contribution
AN - SCOPUS:105045461311
T3 - Proceedings - 2026 IEEE/ACM 14th International Conference on Formal Methods in Software Engineering, FormaliSE 2026
SP - 79
EP - 83
BT - Proceedings - 2026 IEEE/ACM 14th International Conference on Formal Methods in Software Engineering, FormaliSE 2026
PB - Association for Computing Machinery, Inc
T2 - 14th International Conference on Formal Methods in Software Engineering, FormaliSE 2024
Y2 - 12 April 2026 through 13 April 2026
ER -