Automated and scalable t-wise test case generation strategies for software product lines

G. Perrouin, S. Sen, J. Klein, B. Baudry, Y. Le Traon

Research output: Contribution in Book/Catalog/Report/Conference proceedingConference contribution

Abstract

Software Product Lines (SPL) are difficult to validate due to combinatorics induced by variability across their features. This leads to combinatorial explosion of the number of derivable products. Exhaustive testing in such a large space of products is infeasible. One possible option is to test SPLs by generating test cases that cover all possible T feature interactions (T-wise). T-wise dramatically reduces the number of test products while ensuring reasonable SPL coverage. However, automatic generation of test cases satisfying T-wise using SAT solvers raises two issues. The encoding of SPL models and T-wise criteria into a set of formulas acceptable by the solver and their satisfaction which fails when processed “all-at-once'”. We propose a scalable toolset using Alloy to automatically generate test cases satisfying T-wise from SPL models. We define strategies to split T-wise combinations into solvable subsets. We design and compute metrics to evaluate strategies on Aspect OPTIMA, a concrete transactional SPL.
Original languageEnglish
Title of host publicationThird International Conference on Software Testing, Verification and Validation (ICST)
Place of PublicationParis
PublisherIEEE
Pages459-468
Number of pages10
ISBN (Print)978-1-4244-6435-7
DOIs
Publication statusPublished - 2010

Fingerprint

Dive into the research topics of 'Automated and scalable t-wise test case generation strategies for software product lines'. Together they form a unique fingerprint.

Cite this