An Improved Adaptive Algorithm for Locating Faulty Interactions in Combinatorial Testing

Qianqian YANG
Xiao-Nan LU

IEICE TRANSACTIONS on Fundamentals of Electronics, Communications and Computer Sciences   Vol.E105-A    No.6    pp.930-942
Publication Date: 2022/06/01
Publicized: 2021/11/29
Online ISSN: 1745-1337
DOI: 10.1587/transfun.2021EAP1071
Type of Manuscript: PAPER
Category: Algorithms and Data Structures
combinatorial testing,  covering array,  adaptive testing,  faulty interaction,  testing-equivalence,  factor-component,  

Full Text: FreePDF(1.3MB)

Combinatorial testing is an effective testing technique for detecting faults in a software or hardware system with multiple factors using combinatorial methods. By performing a test, which is an assignment of possible values to all the factors, and verifying whether the system functions as expected (pass) or not (fail), the presence of faults can be detected. The failures of the tests are possibly caused by combinations of multiple factors assigned with specific values, called faulty interactions. Martínez et al. [1] proposed the first deterministic adaptive algorithm for discovering faulty interactions involving at most two factors where each factor has two values, for which graph representations are adopted. In this paper, we improve Martínez et al.'s algorithm by an adaptive algorithmic approach for discovering faulty interactions in the so-called “non-2-locatable” graphs. We show that, for any system where each “non-2-locatable factor-component” involves two faulty interactions (for example, a system having at most two faulty interactions), our improved algorithm efficiently discovers all the faulty interactions with an extremely low mistaken probability caused by the random selection process in Martínez et al.'s algorithm. The effectiveness of our improved algorithm are revealed by both theoretical discussions and experimental evaluations.

open access publishing via