Empirical Software Engineering

, Volume 16, Issue 1, pp 61–102

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

  • Brady J. Garvin
  • Myra B. Cohen
  • Matthew B. Dwyer
Article

Abstract

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.

Keywords

Constrained combinatorial interaction testing Configurable software Search based software engineering 

Copyright information

© Springer Science+Business Media, LLC 2010

Authors and Affiliations

  • Brady J. Garvin
    • 1
  • Myra B. Cohen
    • 1
  • Matthew B. Dwyer
    • 1
  1. 1.Department of Computer Science and EngineeringUniversity of Nebraska—LincolnLincolnUSA

Personalised recommendations