Testing variability-intensive systems using automated analysis: an application to Android

被引:26
作者
Galindo, Jose A. [1 ]
Turner, Hamilton [2 ]
Benavides, David [1 ]
White, Jules [2 ,3 ]
机构
[1] Univ Seville, Dept Lenguajes & Sistemas Informat, Avda Reina Mercedes S-N, E-41012 Seville, Spain
[2] Virginia Tech, Bradley Dept Elect & Comp Engn, Blacksburg, VA 24060 USA
[3] Vanderbilt Univ, Dept Elect Engn & Comp Sci, Nashville, TN 37212 USA
关键词
Testing; Software product lines; Automated analysis; Feature models; Android;
D O I
10.1007/s11219-014-9258-y
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Software product lines are used to develop a set of software products that, while being different, share a common set of features. Feature models are used as a compact representation of all the products (e.g., possible configurations) of the product line. The number of products that a feature model encodes may grow exponentially with the number of features. This increases the cost of testing the products within a product line. Some proposals deal with this problem by reducing the testing space using different techniques. However, a daunting challenge is to explore how the cost and value of test cases can be modeled and optimized in order to have lower-cost testing processes. In this paper, we present TESting vAriAbiLity Intensive Systems (TESALIA), an approach that uses automated analysis of feature models to optimize the testing of variability-intensive systems. We model test value and cost as feature attributes, and then we use a constraint satisfaction solver to prune, prioritize and package product line tests complementing prior work in the software product line testing literature. A prototype implementation of TESALIA is used for validation in an Android example showing the benefits of maximizing the mobile market share (the value function) while meeting a budgetary constraint.
引用
收藏
页码:365 / 405
页数:41
相关论文
共 61 条
[41]  
Oster S, 2010, LECT NOTES COMPUT SC, V6287, P196, DOI 10.1007/978-3-642-15579-6_14
[42]  
Passos L., 2011, STUDY NONBOOLEAN CON
[43]  
Lamancha BP, 2010, LECT NOTES COMPUT SC, V6435, P111, DOI 10.1007/978-3-642-16573-3_9
[44]  
Perrouin Gilles, 2010, Proceedings of the Third IEEE International Conference on Software Testing, Verification and Validation (ICST 2010), P459, DOI 10.1109/ICST.2010.43
[45]   Pairwise testing for software product lines: comparison of two approaches [J].
Perrouin, Gilles ;
Oster, Sebastian ;
Sen, Sagar ;
Klein, Jacques ;
Baudry, Benoit ;
le Traon, Yves .
SOFTWARE QUALITY JOURNAL, 2012, 20 (3-4) :605-643
[46]   Software product line testing - Exploring principles and potential solutions [J].
Pohl, Klaus ;
Metzger, Andreas .
COMMUNICATIONS OF THE ACM, 2006, 49 (12) :78-81
[47]   Quality-aware analysis in product line engineering with the orthogonal variability model [J].
Roos-Frantz, Fabricia ;
Benavides, David ;
Ruiz-Cortes, Antonio ;
Heuer, Andre ;
Lauenroth, Kim .
SOFTWARE QUALITY JOURNAL, 2012, 20 (3-4) :519-565
[48]  
Rothermel G., 1997, EFCIENT REGRESSION T, V2, P1
[49]  
Sayyad AS, 2013, PROCEEDINGS OF THE 35TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2013), P492, DOI 10.1109/ICSE.2013.6606595
[50]  
Segura S., 2012, Proceedings of the Sixth International Workshop on Variability Modeling of Software-Intensive Systems, P63