A Novel Mutation Operator for Search-Based Test Case Selection

被引:0
|
作者
Arrieta, Aitor [1 ]
Illarramendi, Miren [1 ]
机构
[1] Mondragon Univ, Arrasate Mondragon, Spain
关键词
Search-based test case selection; Regression test optimization; TEST DATA GENERATION;
D O I
10.1007/978-3-031-48796-5_6
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Test case selection has been a widely investigated technique to increase the cost-effectiveness of software testing. Because the search space in this problem is huge, search-based approaches have been found effective, where an optimization algorithm (e.g., a genetic algorithm) applies mutation and crossover operators guided by corresponding objective functions with the goal of reducing the test execution cost while maintaining the overall test quality. The de-facto mutation operator is the bit-flip mutation, where a test case is mutated with a probability of 1/N, N being the total number of test cases in the original test suite. This has a core disadvantage: an effective test case and an ineffective one have the same probability of being selected or removed. In this paper, we advocate for a novel mutation operator that promotes selecting effective test cases while removing the ineffective ones. To this end, instead of applying a probability of 1/N to every single test case in the original test suite, we calculate new selection and removal probabilities. This is carried out based on the adequacy criterion of each test case, determined before executing the algorithm (e.g., based on historical data). We integrate our approach in the domain of Cyber-Physical Systems (CPSs) within a widely applied dataset. Our results suggests that the proposed mutation operator can increase the effectiveness of search-based test case selection methods, especially when the time budget for executing test cases is low.
引用
收藏
页码:84 / 98
页数:15
相关论文
共 50 条
  • [1] Some Seeds Are Strong: Seeding Strategies for Search-based Test Case Selection
    Arrieta, Aitor
    Valle, Pablo
    Agirre, Joseba A.
    Sagardui, Goiuria
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2023, 32 (01)
  • [2] BINTEST - Binary search-based test case generation
    Beydeda, S
    Gruhn, V
    27TH ANNUAL INTERNATIONAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE, PROCEEDINGS, 2003, : 28 - 33
  • [3] Search-based Test Case Selection for PLC Systems using Functional Block Diagram Programs
    Ugarte Querejeta, Miriam
    Jee, Eunkyoung
    Liu, Lingjun
    Valle, Pablo
    Arrieta, Aitor
    Illarramendi Rezabal, Miren
    2023 IEEE 34TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING, ISSRE, 2023, : 228 - 239
  • [4] Search-Based Selection and Prioritization of Test Scenarios for Autonomous Driving Systems
    Lu, Chengjie
    Zhang, Huihui
    Yue, Tao
    Ali, Shaukat
    SEARCH-BASED SOFTWARE ENGINEERING (SSBSE 2021), 2021, 12914 : 41 - 55
  • [5] A Pattern-Driven Mutation Operator for Search-Based Product Line Architecture Design
    Guizzo, Giovani
    Colanzi, Thelma Elita
    Vergilio, Silvia Regina
    SEARCH-BASED SOFTWARE ENGINEERING, 2014, 8636 : 77 - 91
  • [6] Search-based test case implantation for testing untested configurations
    Pradhan, Dipesh
    Wang, Shuai
    Yue, Tao
    Ali, Shaukat
    Liaaen, Marius
    INFORMATION AND SOFTWARE TECHNOLOGY, 2019, 111 : 22 - 36
  • [7] An Adaptive Search Budget Allocation Approach for Search-Based Test Case Generation
    Scalabrino, Simone
    Mastropaolo, Antonio
    Bavota, Gabriele
    Oliveto, Rocco
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2021, 30 (03)
  • [8] An Improved Crow Search Algorithm for Test Data Generation Using Search-Based Mutation Testing
    Nishtha Jatana
    Bharti Suri
    Neural Processing Letters, 2020, 52 : 767 - 784
  • [9] Search-Based Cost-Effective Test Case Selection within a Time Budget: An Empirical Study
    Pradhan, Dipesh
    Wang, Shuai
    Ali, Shaukat
    Yue, Tao
    GECCO'16: PROCEEDINGS OF THE 2016 GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE, 2016, : 1085 - 1092
  • [10] An Improved Crow Search Algorithm for Test Data Generation Using Search-Based Mutation Testing
    Jatana, Nishtha
    Suri, Bharti
    NEURAL PROCESSING LETTERS, 2020, 52 (01) : 767 - 784