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 条
  • [21] An Empirical Comparison of Combinatorial Testing, Random Testing and Adaptive Random Testing
    Wu, Huayao
    Nie, Changhai
    Petke, Justyna
    Jia, Yue
    Harman, Mark
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2020, 46 (03) : 302 - 320
  • [22] Arselda: an Improvement on Adaptive Random Testing by Adaptive Region Selection
    Rezaalipour, Mohammad
    Talebsafa, Lida
    Vahidi-Asl, Mojtaba
    2018 8TH INTERNATIONAL CONFERENCE ON COMPUTER AND KNOWLEDGE ENGINEERING (ICCKE), 2018, : 73 - 78
  • [23] A cost-effective adaptive random testing approach by dynamic restriction
    Ackah-Arthur, Hilary
    Chen, Jinfu
    Xi, Jiaxiang
    Omari, Michael
    Song, Heping
    Huang, Rubing
    IET SOFTWARE, 2018, 12 (06) : 489 - 497
  • [24] Adaptive Random Testing Based on Two-Point Partitioning
    Mao, Chengying
    INFORMATICA-JOURNAL OF COMPUTING AND INFORMATICS, 2012, 36 (03): : 297 - 303
  • [25] Centroid Based Adaptive Random Testing for Object Oriented Program
    Putra, I. Putu Edy Suardiyana
    Mursanto, Petrus
    2013 INTERNATIONAL CONFERENCE ON ADVANCED COMPUTER SCIENCE AND INFORMATION SYSTEMS (ICACSIS), 2013, : 39 - 45
  • [26] Adaptive random testing by bisection with restriction
    Mayer, J
    FORMAL METHODS AND SOFTWARE ENGINEERING, PROCEEDINGS, 2005, 3785 : 251 - 263
  • [27] Towards an Improvement of Bisection-Based Adaptive Random Testing
    Mao, Chengying
    Zhan, Xuzheng
    2017 24TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2017), 2017, : 689 - 694
  • [28] Adaptive Random Testing By Static Partitioning
    Sabor, Korosh Koochekian
    Thiel, Stuart
    10TH INTERNATIONAL WORKSHOP ON AUTOMATION OF SOFTWARE TEST AST 2015, 2015, : 28 - 32
  • [29] Adaptive random testing by bisection and localization
    Mayer, Johannes
    FORMAL APPROACHES TO SOFTWARE TESTING, 2006, 3997 : 72 - 86
  • [30] Adaptive random testing with CG constraint
    Chan, FT
    Chan, KP
    Chen, TY
    Yiu, SM
    PROCEEDINGS OF THE 28TH ANNUAL INTERNATIONAL COMPUTER SOFTWARE AND APPLICATION CONFERENCE, WORKSHOP AND FAST ABSTRACTS, 2004, : 96 - 99