An Adaptive Partition -Based Approach for Adaptive Random Testing on Real Programs

被引:0
作者
Xia, Yisheng [1 ]
Sun, Weifeng [1 ]
Yan, Meng [1 ]
Xu, Lei [2 ]
Yang, Dan [1 ]
机构
[1] Chongqing Univ, Sch Big Data & Software Engn, Chongqing, Peoples R China
[2] Qingdao Haier Smart Technol R&D Co Ltd, Qingdao, Peoples R China
来源
2023 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING, SANER | 2023年
基金
中国国家自然科学基金;
关键词
Adaptive random testing; Random testing; Software testing;
D O I
10.1109/SANER56733.2023.00068
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Adaptive random testing (ART) is a family of algorithms to enhance random testing (RT) by generating test cases extensively and evenly. For this purpose, many ART algorithms have been proposed, the most well-known and the first approach is the Fixed-Size-Candidate-Set ART (FSCS-ART). In recent years, researchers have also proposed many ART methods to continuously improve the performance of FSCS-ART, but the focus has been more on reducing the time overhead of FSCSART while retaining its failure detection effectiveness as much as possible due to the boundary effect. To alleviate the boundary effect and improve the effectiveness of FSCS-ART, this paper proposes an algorithm AP-FSCS-ART, an Adaptive Partitionbased method on top of FSCS-ART. First, AP-FSCS-ART divides the entire input domain into external and internal sub-domains. Then, two different algorithms are adaptively applied to the two sub-domains to find the next test case from the randomly generated candidate test cases. During the selecting process, APFSCS-ART takes into account not only the most recently executed test case of a candidate test case but also its position relative to the input domain. Experiments using the 12 most common real programs and comparisons with other algorithms in this paper show that the AP-FSCS-ART algorithm has significantly better failure detection capability, with improvements from 8.8% to 11.4% compared to three state-of-the-art ART algorithms, including the FSCS-ART, FSCS-ctsr, and NNDC-ART.
引用
收藏
页码:668 / 672
页数:5
相关论文
共 16 条
  • [11] A nearest-neighbor divide-and-conquer approach for adaptive random testing
    Huang, Rubing
    Sun, Weifeng
    Chen, Haibo
    Cui, Chenhui
    Yang, Ning
    [J]. SCIENCE OF COMPUTER PROGRAMMING, 2022, 215
  • [12] Candidate test set reduction for adaptive random testing: An overheads reduction technique
    Huang, Rubing
    Chen, Haibo
    Sun, Weifeng
    Towey, Dave
    [J]. SCIENCE OF COMPUTER PROGRAMMING, 2022, 214
  • [13] Myers Glenford J, 2011, The art of software testing
  • [14] Press W., 1997, Numerical Recipes in Fortran 77
  • [15] A critique and improvement of the CL common language effect size statistics of McGraw and Wong
    Vargha, A
    Delaney, HD
    [J]. JOURNAL OF EDUCATIONAL AND BEHAVIORAL STATISTICS, 2000, 25 (02) : 101 - 132
  • [16] A DOMAIN STRATEGY FOR COMPUTER-PROGRAM TESTING
    WHITE, LJ
    COHEN, EI
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1980, 6 (03) : 247 - 257