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 条
  • [1] ACM, 1980, COLL ALG ACM
  • [2] [Anonymous], 2006, ADAPTIVE RANDOM TEST
  • [3] A Hitchhiker's guide to statistical tests for assessing randomized algorithms in software engineering
    Arcuri, Andrea
    Briand, Lionel
    [J]. SOFTWARE TESTING VERIFICATION & RELIABILITY, 2014, 24 (03) : 219 - 250
  • [4] FSCS-SIMD: An efficient implementation of Fixed-Size-Candidate-Set adaptive random testing using SIMD instructions
    Ashfaq, Muhammad
    Huang, Rubing
    Omari, Michael
    [J]. 2020 IEEE 31ST INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING (ISSRE 2020), 2020, : 277 - 288
  • [5] Chan KP, 2002, LECT NOTES COMPUT SC, V2349, P321
  • [6] Chen T. Y., 2007, P 40 ANN HAW INT C S, p262a
  • [7] Distributing test cases more evenly in adaptive random testing
    Chen, Tsong Yueh
    Kuo, Fei-Ching
    Liu, Huai
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2008, 81 (12) : 2146 - 2162
  • [8] Adaptive random testing based on distribution metrics
    Chen, Tsong Yueh
    Kuo, Fei-Ching
    Liu, Huai
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2009, 82 (09) : 1419 - 1433
  • [9] Chen TY, 2004, LECT NOTES COMPUT SC, V3321, P320
  • [10] Huang R., 2020, SURVEY ADAPTIVE RAND