Cost-effective test suite minimization in product lines using search techniques

被引:76
|
作者
Wang, Shuai [1 ,2 ]
Ali, Shaukat [1 ]
Gotlieb, Arnaud [1 ]
机构
[1] Certus Software V&V Ctr, Simula Res Lab, N-1325 Oslo, Norway
[2] Univ Oslo, Dept Informat, N-0316 Oslo, Norway
关键词
Product line; Search algorithm; Test suite minimization; OPTIMIZATION; SELECTION;
D O I
10.1016/j.jss.2014.08.024
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Cost-effective testing of a product in a product line requires obtaining a set of relevant test cases from the entire test suite via test selection and minimization techniques. In this paper, we particularly focus on test minimization for product lines, which identifies and eliminates redundant test cases from test suites in order to reduce the total number of test cases to execute, thereby improving the efficiency of testing. However, such minimization may result in the minimized test suite with low test coverage, low fault revealing capability, low priority test cases, and require more time than the allowed testing budget (e.g., time) as compared to the original test suite. To deal with the above issues, we formulated the minimization problem as a search problem and defined a fitness function considering various optimization objectives based on the above issues. To assess the performance of our fitness function, we conducted an extensive empirical evaluation by investigating the fitness function with three weight-based Genetic Algorithms (GAs) and seven multi-objective search algorithms using an industrial case study and 500 artificial problems inspired from the industrial case study. The results show that Random-Weighted Genetic Algorithm (RWGA) significantly outperforms the other algorithms since RWGA can balance all the objectives together by dynamically updating weights during each generation. Based on the results of our empirical evaluation, we also implemented a tool called TEst Minimization using Search Algorithms (TEMSA) to support test minimization using various search algorithms in the context of product lines. (C) 2014 Elsevier Inc. All rights reserved.
引用
收藏
页码:370 / 391
页数:22
相关论文
共 50 条
  • [1] An Empirical Study of Greedy Test Suite Minimization Techniques Using Mutation Coverage
    Jehan, Seema
    Wotawa, Franz
    IEEE ACCESS, 2023, 11 : 65427 - 65442
  • [2] An effective formulation of the multi-criteria test suite minimization problem
    Ozener, O. Orsan
    Sozer, Hasan
    JOURNAL OF SYSTEMS AND SOFTWARE, 2020, 168
  • [3] Summary of An Effective Formulation of the Multi-Criteria Test Suite Minimization Problem
    Ozener, O. Orsan
    Sozer, Hasan
    2022 IEEE 15TH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST 2022), 2022, : 459 - 459
  • [4] Many-Objective Test Suite Generation for Software Product Lines
    Hierons, Robert M.
    Li, Miqing
    Liu, Xiaohui
    Parejo, Jose Antonio
    Segura, Sergio
    Yao, Xin
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2020, 29 (01)
  • [5] Test suite minimization using particle swarm optimization
    Deneke, Aliazar
    Assefa, Beakal Gizachew
    Mohapatra, Sudhir Kumar
    MATERIALS TODAY-PROCEEDINGS, 2022, 60 : 229 - 233
  • [6] Search-Based Cost-Effective Software Remodularization
    Mahouachi, Rim
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2018, 33 (06) : 1320 - 1336
  • [7] Regression test suite minimization using integer linear programming model
    Panda, S.
    Mohapatra, D. P.
    SOFTWARE-PRACTICE & EXPERIENCE, 2017, 47 (11) : 1539 - 1560
  • [8] Search Based Test Suite Minimization for Fault Detection and Localization: A Co-driven Method
    Geng, Jingyao
    Li, Zheng
    Zhao, Ruilian
    Guo, Junxia
    SEARCH BASED SOFTWARE ENGINEERING, SSBSE 2016, 2016, 9962 : 34 - 48
  • [9] Cost-effective supervisory control system in peripheral milling using HSM
    Vallejo, Antonio J.
    Morales-Menendez, Ruben
    ANNUAL REVIEWS IN CONTROL, 2010, 34 (01) : 155 - 162
  • [10] An Assimilated Approach of Concept Analysis and Particle Swarm Optimization Algorithm for Effective Test Suite Minimization
    Selvakumar, S.
    Manikumar, T.
    Kumar, A. John Sanjeev
    Latha, L.
    2013 IEEE INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND COMPUTING RESEARCH (ICCIC), 2013, : 866 - 869