Skip to Main content Skip to Navigation
New interface
Conference papers

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

Gilles Perrouin 1 Sagar Sen 2 Jacques Klein 1 Benoit Baudry 2 Yves Le Traon 1 
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
Complete list of metadata

Cited literature [32 references]  Display  Hide  Download
Contributor : Didier Vojtisek Connect in order to contact the contributor
Submitted on : Thursday, April 29, 2010 - 2:16:45 PM
Last modification on : Friday, February 4, 2022 - 3:21:57 AM
Long-term archiving on: : Thursday, September 30, 2010 - 4:08:17 PM


Files produced by the author(s)


  • HAL Id : inria-00477523, version 1


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


Files downloads