Title :
Exploiting Constraint Solving History to Construct Interaction Test Suites
Author :
Cohen, Myra B. ; Dwyer, Matthew B. ; Shi, Jiangfan
Author_Institution :
Univ. of Nebraska - Lincoln, Lincoln
Abstract :
Researchers have explored the application of combinatorial interaction testing (CIT) methods to construct samples to drive systematic testing of software system configurations. Applying CIT to highly-configurable software systems is complicated by the fact that, in many such systems, there are constraints between specific configuration parameters that render certain combinations invalid. In recent work, automated constraint solving methods have been combined with search-based CIT methods to address this problem with promising results. In this paper, we observe that the pattern of computation in greedy CIT algorithms leads to sequences of constraint solving problems that are closely related to one another. We propose two techniques for exploiting the history of constraint solving: (1) using incremental algorithms that are present within available constraint solvers and (2) mining constraint solver data structures to extract information that can be used to reduce the CIT search space. We evaluate the cost-effectiveness of these reductions on four real-world highly-configurable software systems and on a population of synthetic examples that share the characteristics of those four systems. In combination our techniques reduce the cost of CIT in the presence of constraints to that of traditional unconstrained CIT methods without sacrificing the quality of solutions.
Keywords :
combinatorial mathematics; constraint handling; data mining; data structures; greedy algorithms; program testing; search problems; automated constraint solving methods; combinatorial interaction testing; constraint solver data structures; constraint solving; greedy CIT algorithms; incremental algorithms; interaction test suites; software system configurations; Computer industry; Constraint optimization; Constraint theory; Costs; Data mining; Data structures; History; Software systems; Software testing; System testing;
Conference_Titel :
Testing: Academic and Industrial Conference Practice and Research Techniques - MUTATION, 2007. TAICPART-MUTATION 2007
Conference_Location :
Windsor
Print_ISBN :
978-0-7695-2984-4
DOI :
10.1109/TAIC.PART.2007.17