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 条
  • [1] Adaptive and Random Partition Software Testing
    Lv, Junpeng
    Hu, Hai
    Cai, Kai-Yuan
    Chen, Tsong Yueh
    IEEE TRANSACTIONS ON SYSTEMS MAN CYBERNETICS-SYSTEMS, 2014, 44 (12): : 1649 - 1664
  • [2] Divergence-Oriented Approach to Adaptive Random Testing of Java']Java Programs
    Lin, Yu
    Tang, Xucheng
    Chen, Yuting
    Zhao, Jianjun
    2009 IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, PROCEEDINGS, 2009, : 221 - 232
  • [3] Adaptive Partition Testing
    Sun, Chang-Ai
    Dai, Hepeng
    Liu, Huai
    Chen, Tsong Yueh
    Cai, Kai-Yuan
    IEEE TRANSACTIONS ON COMPUTERS, 2019, 68 (02) : 157 - 169
  • [4] A Novel Evolutionary Approach for Adaptive Random Testing
    Tappenden, Andrew F.
    Miller, James
    IEEE TRANSACTIONS ON RELIABILITY, 2009, 58 (04) : 619 - 633
  • [5] Adaptive Random Testing
    Chen, T. Y.
    QSIC 2008: PROCEEDINGS OF THE EIGHTH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE, 2008, : 443 - 444
  • [6] Adaptive random testing
    Chen, TY
    Leung, H
    Mak, IK
    ADVANCES IN COMPUTER SCIENCE - ASIAN 2004, PROCEEDINGS, 2004, 3321 : 320 - 329
  • [7] Adaptive random testing based on distribution metrics
    Chen, Tsong Yueh
    Kuo, Fei-Ching
    Liu, Huai
    JOURNAL OF SYSTEMS AND SOFTWARE, 2009, 82 (09) : 1419 - 1433
  • [8] Adaptive random testing based on flexible partitioning
    Mao, Chengying
    Zhan, Xuzheng
    Chen, Jinfu
    Chen, Jifu
    Huang, Rubing
    IET SOFTWARE, 2020, 14 (05) : 493 - 505
  • [9] AN ADAPTIVE PARTITION-BASED APPROACH FOR SOLVING TWO-STAGE STOCHASTIC PROGRAMS WITH FIXED RECOURSE
    Song, Yongjia
    Luedtke, James
    SIAM JOURNAL ON OPTIMIZATION, 2015, 25 (03) : 1344 - 1367
  • [10] Restricted random testing: Adaptive random testing by exclusion
    Chan, Kwok Ping
    Chen, Tsong Yueh
    Towey, Dave
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2006, 16 (04) : 553 - 584