Evaluating improvements to a meta-heuristic search for constrained interaction testing

被引:155
作者
Garvin, Brady J. [1 ]
Cohen, Myra B. [1 ]
Dwyer, Matthew B. [1 ]
机构
[1] Univ Nebraska, Dept Comp Sci & Engn, Lincoln, NE 68588 USA
基金
美国国家科学基金会; 美国国家航空航天局;
关键词
Constrained combinatorial interaction testing; Configurable software; Search based software engineering; TEST SUITES; ALGORITHMS; GENERATION; STATE;
D O I
10.1007/s10664-010-9135-7
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Combinatorial interaction testing (CIT) is a cost-effective sampling technique for discovering interaction faults in highly-configurable systems. Constrained CIT extends the technique to situations where some features cannot coexist in a configuration, and is therefore more applicable to real-world software. Recent work on greedy algorithms to build CIT samples now efficiently supports these feature constraints. But when testing a single system configuration is expensive, greedy techniques perform worse than meta-heuristic algorithms, because greedy algorithms generally need larger samples to exercise the same set of interactions. On the other hand, current meta-heuristic algorithms have long run times when feature constraints are present. Neither class of algorithm is suitable when both constraints and the cost of testing configurations are important factors. Therefore, we reformulate one meta-heuristic search algorithm for constructing CIT samples, simulated annealing, to more efficiently incorporate constraints. We identify a set of algorithmic changes and experiment with our modifications on 35 realistic constrained problems and on a set of unconstrained problems from the literature to isolate the factors that improve performance. Our evaluation determines that the optimizations reduce run time by a factor of 90 and accomplish the same coverage objectives with even fewer system configurations. Furthermore, the new version compares favorably with greedy algorithms on real-world problems, and, though our modifications were aimed at constrained problems, it shows similar advantages when feature constraints are absent.
引用
收藏
页码:61 / 102
页数:42
相关论文
共 41 条
  • [1] [Anonymous], 2006, PROC 24 PACIFIC NW S
  • [2] [Anonymous], 2004, MATEMATICHE
  • [3] [Anonymous], THESIS SIMON FRASER
  • [4] [Anonymous], MINISAT C V1 14 1
  • [5] Bryce RC, 2005, PROC INT CONF SOFTW, P146
  • [6] Prioritized interaction testing for pair-wise coverage with seeding and constraints
    Bryce, Renee C.
    Colbourn, Charles J.
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2006, 48 (10) : 960 - 970
  • [7] Bryce RC, 2007, GECCO 2007: GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE, VOL 1 AND 2, P1082
  • [8] CALVAGNA A, 2009, 3 INT C TESTS PROOFS, P27
  • [9] On the state of strength-three covering arrays
    Chateauneuf, M
    Kreher, DL
    [J]. JOURNAL OF COMBINATORIAL DESIGNS, 2002, 10 (04) : 217 - 238
  • [10] Clements P., 2002, SEI Series in Software Engineering