Statistical prioritization for software product line testing: an experience report

被引:27
作者
Devroey, Xavier [1 ]
Perrouin, Gilles [1 ]
Cordy, Maxime [1 ]
Samih, Hamza [2 ,3 ,4 ]
Legay, Axel [4 ]
Schobbens, Pierre-Yves [1 ]
Heymans, Patrick [1 ]
机构
[1] Univ Namur, PReCISE, Rue Grandgagnage 21, B-5000 Namur, Belgium
[2] Alcatel Lucent, IP T&R Wireless Transmiss, Route De VilleJust, F-91620 Nozay, France
[3] All4tec GL, 6 Rue Leonard de Vinci,BP 0119, F-53001 Laval, France
[4] Inria Rennes, Bretagne Atlantique, Campus Univ Beaulieu, F-35042 Rennes, France
关键词
Software product line testing; Prioritization; Statistical testing; MODEL CHECKING; SYSTEMS;
D O I
10.1007/s10270-015-0479-8
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Software product lines (SPLs) are families of software systems sharing common assets and exhibiting variabilities specific to each product member of the family. Commonalities and variabilities are often represented as features organized in a feature model. Due to combinatorial explosion of the number of products induced by possible features combinations, exhaustive testing of SPLs is intractable. Therefore, sampling and prioritization techniques have been proposed to generate sorted lists of products based on coverage criteria or weights assigned to features. Solely based on the feature model, these techniques do not take into account behavioural usage of such products as a source of prioritization. In this paper, we assess the feasibility of integrating usage models into the testing process to derive statistical testing approaches for SPLs. Usage models are given as Markov chains, enabling prioritization of probable/rare behaviours. We used featured transition systems, compactly modelling variability and behaviour for SPLs, to determine which products are realizing prioritized behaviours. Statistical prioritization can achieve a significant reduction in the state space, and modelling efforts can be rewarded by better automation. In particular, we used MaTeLo, a statistical test cases generation suite developed at ALL4TEC. We assess feasibility criteria on two systems: Claroline, a configurable course management system, and Sferion (TM), an embedded system providing helicopter landing assistance.
引用
收藏
页码:153 / 171
页数:19
相关论文
共 58 条
[1]  
[Anonymous], 2013, P 17 INT SOFTW PROD, DOI [DOI 10.1145/2491627.2491635, 10.1145/2491627.2491635]
[2]  
[Anonymous], ARXIV13111343
[3]  
[Anonymous], 2007, P 2007 INT S SOFTWAR
[4]  
[Anonymous], P 2 INT WORKSH PROD
[5]  
[Anonymous], VAMOS 11
[6]  
[Anonymous], 26 IFIP INT C TEST S
[7]  
[Anonymous], 2007, Practical Model-Based Testing: A Tools Approach
[8]  
[Anonymous], 19 INT C ENG COMPL C
[9]  
[Anonymous], P 18 INT SOFTW PROD
[10]  
[Anonymous], 36 INT C SOFTW ENG I