Detecting Faults vs. Revealing Failures: Exploring the Missing Link

Amani Ayad, Samia Alblwi, Ali Mili

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

1 Scopus citations

Abstract

When we quantify the effectiveness of a test suite by its mutation coverage, we are in fact equating test suite effectiveness with fault detection: to the extent that mutations are faithful proxies of actual faults, it is sensible to consider that the effectiveness of a test suite to kill mutants reflects its ability to detect faults. But there is another way to measure the effectiveness of a test suite: by its ability to expose the failures of an incorrect program (or, equivalently, its ability to give us confidence in the correctness of a correct program). The relationship between failures and faults is tenuous at best: a fault is the adjudged or hypothesized cause of a failure. Whereas a failure is an observable, verifiable, certifiable effect, a fault is someone's hypothesis about the possible cause of the observed effect. The same failure may be attributed to more than one fault or combination of faults. In this paper we raise two questions: is the ability to detect faults the same as the ability to reveal failures? If not, which is the better measure of test suite effectiveness? We do not give definite answers to these questions, but we use empirical data to challenge some assumptions and show why these questions are worth answering.

Original languageEnglish
Title of host publicationProceedings - 2024 IEEE 24th International Conference on Software Quality, Reliability and Security, QRS 2024
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages115-126
Number of pages12
ISBN (Electronic)9798350365634
DOIs
StatePublished - 2024
Event24th IEEE International Conference on Software Quality, Reliability and Security, QRS 2024 - Cambridge, United Kingdom
Duration: 1 Jul 20245 Jul 2024

Publication series

NameIEEE International Conference on Software Quality, Reliability and Security, QRS
ISSN (Print)2693-9177

Conference

Conference24th IEEE International Conference on Software Quality, Reliability and Security, QRS 2024
Country/TerritoryUnited Kingdom
CityCambridge
Period1/07/245/07/24

Keywords

  • detecting faults
  • exposing failures
  • mutation coverage
  • semantic coverage
  • software testing
  • test suite effectiveness

Fingerprint

Dive into the research topics of 'Detecting Faults vs. Revealing Failures: Exploring the Missing Link'. Together they form a unique fingerprint.

Cite this