Search based constrained test case selection using execution effort

被引:24
作者
de Souza, Luciano S. [1 ]
Prudencio, Ricardo B. C. [1 ]
Barros, Flavia de A. [1 ]
Aranha, Eduardo H. da S. [2 ]
机构
[1] Univ Fed Pernambuco, Ctr Informat Cln, Recife, PE, Brazil
[2] Univ Fed Rio Grande do Norte, Dept Informat & Appl Math, BR-59072970 Natal, RN, Brazil
关键词
Search Based Test Case Selection; Software Testing; Execution effort; Search based software engineering; REDUCTION;
D O I
10.1016/j.eswa.2013.02.018
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Software testing is essential to guarantee high quality products. However, it is a very expensive activity, particularly when manually performed. One way to cut down costs is by reducing the input test suites, which are usually large in order to fully satisfy the test goals. Yet, since large test suites usually contain redundancies (i.e., two or more test cases (TC) covering the same requirement/piece of code), it is possible to reduce them in order to respect time/people constraints without severely compromising coverage. In this light, we formulated the TC selection problem as a constrained search based optimization task, using requirements coverage as the fitness function to be maximized (quality of the resultant suite), and the execution effort (time) of the selected TCs as a constraint in the search process. Our work is based on the Particle Swarm Optimization (PSO) algorithm, which is simple and efficient when compared to other widespread search techniques. Despite that, besides our previous works, we did not find any other proposals using PSO for TC selection, neither we found solutions treating this task as a constrained optimization problem. We implemented a Binary Constrained PSO (BCPSO) for functional TC selection, and two hybrid algorithms integrating BCPSO with local search mechanisms, in order to refine the solutions provided by BCPSO. These algorithms were evaluated using two different real-world test suites of functional TCs related to the mobile devices domain. In the performed experiments, the BCPSO obtained promising results for the optimization tasks considered. Also, the hybrid algorithms obtained statistically better results than the individual search techniques. (C) 2013 Elsevier Ltd. All rights reserved.
引用
收藏
页码:4887 / 4896
页数:10
相关论文
共 50 条
  • [21] Directed Search Based on Improved Whale Optimization Algorithm for Test Case Prioritization
    Yang, Bin
    Li, Huilai
    Xing, Ying
    Zeng, Fuping
    Qian, Chengdong
    Shen, Youzhi
    Wang, Jiongbo
    INTERNATIONAL JOURNAL OF COMPUTERS COMMUNICATIONS & CONTROL, 2023, 18 (02)
  • [22] Test case selection and prioritization using machine learning: a systematic literature review
    Pan, Rongqi
    Bagherzadeh, Mojtaba
    Ghaleb, Taher A.
    Briand, Lionel
    EMPIRICAL SOFTWARE ENGINEERING, 2022, 27 (02)
  • [23] Efficient Fault Detection by Test Case Prioritization via Test Case Selection
    Rajasingh, J. Paul
    Kumar, P. Senthil
    Srinivasan, S.
    JOURNAL OF ELECTRONIC TESTING-THEORY AND APPLICATIONS, 2023, 39 (5-6): : 659 - 677
  • [24] Efficient Fault Detection by Test Case Prioritization via Test Case Selection
    J. Paul Rajasingh
    P. Senthil Kumar
    S. Srinivasan
    Journal of Electronic Testing, 2023, 39 : 659 - 677
  • [25] Test case selection and prioritization using machine learning: a systematic literature review
    Rongqi Pan
    Mojtaba Bagherzadeh
    Taher A. Ghaleb
    Lionel Briand
    Empirical Software Engineering, 2022, 27
  • [26] Embedding and classifying test execution traces using neural networks
    Tsimpourlas, Foivos
    Rooijackers, Gwenyth
    Rajan, Ajitha
    Allamanis, Miltiadis
    IET SOFTWARE, 2022, 16 (03) : 301 - 316
  • [27] Constrained search space selection based optimization approach for enhanced reduced order approximation of interconnected power system models
    Duddeti, Bala Bhaskar
    Naskar, Asim Kumar
    Meena, V. P.
    Bahadur, Jitendra
    Hameed, Ibrahim A.
    SCIENTIFIC REPORTS, 2025, 15 (01):
  • [28] Path Exploration Based on Monte Carlo Tree Search for Symbolic Execution
    Yeh, Chao-Chun
    Lu, Han-Lin
    Yeh, Jia-Jun
    Huang, Shih-Kun
    2017 CONFERENCE ON TECHNOLOGIES AND APPLICATIONS OF ARTIFICIAL INTELLIGENCE (TAAI), 2017, : 33 - 37
  • [29] Accelerated Finite State Machine Test Execution Using GPUs
    Yaneva, Vanya
    Kapoor, Arnav
    Rajan, Ajitha
    Dubach, Christophe
    2018 25TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2018), 2018, : 109 - 118
  • [30] Automated Test Generation on Path-based Symbolic Execution
    Min, Zhang
    Min, Fu
    2014 5TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND SERVICE SCIENCE (ICSESS), 2014, : 845 - 848