# Automatic and Scalable T-wise Test Case Generation Strategies for Software Product Lines

2 TRISKELL - Reliable and efficient component based software engineering
IRISA - Institut de Recherche en Informatique et Systèmes Aléatoires, Inria Rennes – Bretagne Atlantique
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 SPLs 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 AspectOPTIMA, a concrete transactional SPL.
Document type :
Conference papers

Cited literature [32 references]

https://hal.inria.fr/inria-00477523
Contributor : Didier Vojtisek Connect in order to contact the contributor
Submitted on : Thursday, April 29, 2010 - 2:16:45 PM
Last modification on : Tuesday, June 15, 2021 - 4:14:49 PM
Long-term archiving on: : Thursday, September 30, 2010 - 4:08:17 PM

### File

Perrouin010a.pdf
Files produced by the author(s)

### Identifiers

• HAL Id : inria-00477523, version 1

### Citation

Gilles Perrouin, Sagar Sen, Jacques Klein, Benoit Baudry, Yves Le Traon. Automatic and Scalable T-wise Test Case Generation Strategies for Software Product Lines. International Conference on Software Testing, 2010, Paris, France, France. ⟨inria-00477523⟩

Record views