Toward variability-aware testing

  • Authors:
  • Christian Kästner;Alexander von Rhein;Sebastian Erdweg;Jonas Pusch;Sven Apel;Tillmann Rendel;Klaus Ostermann

  • Affiliations:
  • Philipps University Marburg;University of Passau;Philipps University Marburg;Philipps University Marburg;University of Passau;Philipps University Marburg;Philipps University Marburg

  • Venue:
  • FOSD '12 Proceedings of the 4th International Workshop on Feature-Oriented Software Development
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

We investigate how to execute a unit test for all products of a product line without generating each product in isolation in a brute-force fashion. Learning from variability-aware analyses, we (a) design and implement a variability-aware interpreter and, alternatively, (b) reencode variability of the product line to simulate the test cases with a model checker. The interpreter internally reasons about variability, executing paths not affected by variability only once for the whole product line. The model checker achieves similar results by reusing powerful off-the-shelf analyses. We experimented with a prototype implementation for each strategy. We compare both strategies and discuss trade-offs and future directions. In the long run, we aim at finding an efficient testing approach that can be applied to entire product lines with millions of products.