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
基金
中国国家自然科学基金;
关键词
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
相关论文
共 50 条
  • [31] Adaptive Random Testing for XSS Vulnerability
    Lv, Chengcheng
    Zhang, Long
    Zeng, Fanping
    Zhang, Jian
    2019 26TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC), 2019, : 63 - 69
  • [32] Code Coverage of Adaptive Random Testing
    Chen, Tsong Yueh
    Kuo, Fei-Ching
    Liu, Huai
    Wong, W. Eric
    IEEE TRANSACTIONS ON RELIABILITY, 2013, 62 (01) : 226 - 237
  • [33] On favourable conditions for adaptive random testing
    Chen, Tsong Yueh
    Kuo, Fei-Ching
    Zhou, Zhi Quan
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2007, 17 (06) : 805 - 825
  • [34] Kernel Density Adaptive Random Testing
    Patrick, Matthew
    Jia, Yue
    2015 IEEE EIGHTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW), 2015,
  • [35] Partition testing in confirmatory adaptive designs with structured objectives
    Sugitani, Toshifumi
    Hamasaki, Toshimitsu
    Hamada, Chikuma
    BIOMETRICAL JOURNAL, 2013, 55 (03) : 341 - 359
  • [36] An approach to standard-based Computer Adaptive Testing
    Morales, Javier
    Santos, Olga C.
    Boticario, Jesus G.
    ICALT: 2009 IEEE INTERNATIONAL CONFERENCE ON ADVANCED LEARNING TECHNOLOGIES, 2009, : 117 - 119
  • [37] AN IMPROVED APPROACH TO ADAPTIVE TESTING
    Hu, Hai
    Jiang, Chang-Hai
    Cai, Kai-Yuan
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2009, 19 (05) : 679 - 705
  • [38] A new approach to compiling adaptive programs
    Palsberg, J
    PattShamir, B
    Lieberherr, K
    SCIENCE OF COMPUTER PROGRAMMING, 1997, 29 (03) : 303 - 326
  • [39] A Test Case Generation Method of Combinatorial Testing based on τ-way Testing with Adaptive Random Testing
    Chen, Jinfu
    Chen, Jingyi
    Cai, Saihua
    Chen, Haibo
    Zhang, Chi
    Huang, Chuangfei
    2021 IEEE INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING WORKSHOPS (ISSREW 2021), 2021, : 83 - 90
  • [40] A nearest-neighbor divide-and-conquer approach for adaptive random testing
    Huang, Rubing
    Sun, Weifeng
    Chen, Haibo
    Cui, Chenhui
    Yang, Ning
    Science of Computer Programming, 2022, 215