English

New Fault Domains for Conformance Testing of Finite State Machines

Formal Languages and Automata Theory 2025-06-13 v2 Software Engineering

Abstract

A fault domain reflects a tester's assumptions about faults that may occur in an implementation and that need to be detected during testing. A fault domain that has been widely studied in the literature on black-box conformance testing is the class of finite state machines (FSMs) with at most mm states. Numerous strategies for generating test suites have been proposed that guarantee fault coverage for this class. These so-called mm-complete test suites grow exponentially in mnm-n, where nn is the number of states of the specification, so one can only run them for small values of mnm-n. But the assumption that mnm-n is small is not realistic in practice. In his seminal paper from 1964, Hennie raised the challenge to design checking experiments in which the number of states may increase appreciably. In order to solve this long-standing open problem, we propose (much larger) fault domains that capture the assumption that all states in an implementation can be reached by first performing a sequence from some set AA (typically a state cover for the specification), followed by kk arbitrary inputs, for some small kk. The number of states of FSMs in these fault domains grows exponentially in kk. We present a sufficient condition for kk-AA-completeness of test suites with respect to these fault domains. Our condition implies kk-AA-completeness of two prominent mm-complete test suite generation strategies, the Wp and HSI methods. Thus these strategies are complete for much larger fault domains than those for which they were originally designed, and thereby solve Hennie's challenge. We show that three other prominent mm-complete methods (H, SPY and SPYH) do not always generate kk-AA-complete test suites.

Keywords

Cite

@article{arxiv.2410.19405,
  title  = {New Fault Domains for Conformance Testing of Finite State Machines},
  author = {Frits Vaandrager and Ivo Melse},
  journal= {arXiv preprint arXiv:2410.19405},
  year   = {2025}
}

Comments

30 pages, 11 figures, to appear in proceedings CONCUR 2025