Model-based pairwise testing for feature interaction coverage in software product line engineering

  • Authors:
  • Malte Lochau;Sebastian Oster;Ursula Goltz;Andy Schürr

  • Affiliations:
  • Institute for Programming and Reactive Systems, TU Braunschweig, Germany;Real-Time Systems Group, TU Darmstadt, Germany;Institute for Programming and Reactive Systems, TU Braunschweig, Germany;Real-Time Systems Group, TU Darmstadt, Germany

  • Venue:
  • Software Quality Control
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

Testing software product lines (SPLs) is very challenging due to a high degree of variability leading to an enormous number of possible products. The vast majority of today's testing approaches for SPLs validate products individually using different kinds of reuse techniques for testing. Because of their reusability and adaptability capabilities, model-based approaches are suitable to describe variability and are therefore frequently used for implementation and testing purposes of SPLs. Due to the enormous number of possible products, individual product testing becomes more and more infeasible. Pairwise testing offers one possibility to test a subset of all possible products. However, according to the best of our knowledge, there is no contribution discussing and rating this approach in the SPL context. In this contribution, we provide a mapping between feature models describing the common and variable parts of an SPL and a reusable test model in the form of statecharts. Thereby, we interrelate feature model-based coverage criteria and test model-based coverage criteria such as control and data flow coverage and are therefore able to discuss the potentials and limitations of pairwise testing. We pay particular attention to test requirements for feature interactions constituting a major challenge in SPL engineering. We give a concise definition of feature dependencies and feature interactions from a testing point of view, and we discuss adequacy criteria for SPL coverage under pairwise feature interaction testing and give a generalization to the T-wise case. The concept and implementation of our approach are evaluated by means of a case study from the automotive domain.