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 条
[1]  
Acher M., 2014, 18 INT SOFTW PROD LI
[2]  
Akbar MM, 2001, LECT NOTES COMPUT SC, V2074, P659
[3]  
Alferez M., 2014, RR8576 INRIA
[4]  
[Anonymous], 2013, P 17 INT SOFTW PROD, DOI [DOI 10.1145/2491627.2491635, 10.1145/2491627.2491635]
[5]  
[Anonymous], 1990, FEATURE ORIENTED DOM
[6]  
[Anonymous], 1996, CMUSEI96TR010
[7]  
[Anonymous], 1990, Software Testing Techniques
[8]  
[Anonymous], 2007, SOFTWARE PRODUCT LIN
[9]   Automated analysis of feature models:: Challenges ahead [J].
Batory, Don ;
Benavides, David ;
Ruiz-Cortes, Antonio .
COMMUNICATIONS OF THE ACM, 2006, 49 (12) :45-47
[10]  
Beck K, 2003, TEST DRIVEN DEV EXAM