Improving Failure Detection by Automatically Generating Test Cases Near the Boundaries

被引:2
|
作者
Zhou, Min [1 ]
Cheng, Xi [1 ]
Guo, Xinrui [1 ]
Gu, Ming [1 ]
Zhang, Hongyu [2 ]
Song, Xiaoyu [3 ]
机构
[1] Tsinghua Univ, Sch Software, Beijing 100084, Peoples R China
[2] Microsoft Res, Beijing 100084, Peoples R China
[3] Portland State Univ, Elect & Comp Engn, Portland, OR 97207 USA
关键词
boundary value; random testing; memetic; SOFTWARE TEST DATA;
D O I
10.1109/COMPSAC.2016.137
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Boundary value analysis is a typical conventional testing technique. However, manually identifying input regions and writing test cases are labor-intensive and time-consuming. In this paper, we propose a search-based random testing approach, which automatically generates test data along the boundaries of semantic regions of the input domain. The experiments on mutated programs confirm the effectiveness and efficiency of the proposed approach. Furthermore, our approach significantly outperforms the conventional ART (Adaptive Random Testing) methods, which sample test cases evenly across the input regions. Our approach also outperforms EvoSuite, a state-of-the-art tool that generates test cases satisfying certain coverage criterion.
引用
收藏
页码:164 / 173
页数:10
相关论文
共 50 条
  • [21] Generating Test Cases by An Innovative Way
    Zhao, Shumei
    Lv, Chunfeng
    MATERIALS SCIENCE AND INFORMATION TECHNOLOGY, PTS 1-8, 2012, 433-440 : 5841 - 5847
  • [22] Structural induction for generating test cases
    Song, Guoxing
    Huadong Huagong Xueyuan xuebao, 1990, 16 (05): : 572 - 576
  • [23] Generating asynchronous test cases from test purposes
    Simao, Adenilso
    Petrenko, Alexandre
    INFORMATION AND SOFTWARE TECHNOLOGY, 2011, 53 (11) : 1252 - 1262
  • [24] A method to automatically generate test cases from requirements
    Jiang, Mingyue
    Ding, Zuohua
    Advances in Information Sciences and Service Sciences, 2012, 4 (05): : 9 - 20
  • [25] Automatically Identifying Focal Methods under Test in Unit Test Cases
    Ghafari, Mohammad
    Ghezzi, Carlo
    Rubinov, Konstantin
    2015 IEEE 15TH INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM), 2015, : 61 - 70
  • [26] Automatically Generating Payload-based Models for Botnet Detection
    Lee, Chung-Nan
    Chou, Fred
    Chen, C. M.
    2015 IEEE INTERNATIONAL CONFERENCE ON SMART CITY/SOCIALCOM/SUSTAINCOM (SMARTCITY), 2015, : 1038 - 1044
  • [27] Automatically Repairing Test Cases for Evolving Method Declarations
    Mirzaaghaei, Mehdi
    Pastore, Fabrizio
    Pezze, Mauro
    2010 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, 2010,
  • [28] Automatically Generating and Improving Voice Command Interface from Operation Sequences on Smartphones
    Pan, Lihang
    Yu, Chun
    Li, JiaHui
    Huang, Tian
    Bi, Xiaojun
    Shi, Yuanchun
    PROCEEDINGS OF THE 2022 CHI CONFERENCE ON HUMAN FACTORS IN COMPUTING SYSTEMS (CHI' 22), 2022,
  • [29] A Case Study for Generating Test Cases from Use Cases
    Gutierrez, Javier J.
    Escalona, Maria J.
    Mejias, Manuel
    Torres, Jesus
    Centeno, Arturo H.
    PROCEEDINGS OF THE SECOND INTERNATIONAL CONFERENCE ON RESEARCH CHALLENGES IN INFORMATION SCIENCE: RCIS 2008, 2007, : 209 - 214
  • [30] Improving fault detection capability by selectively retaining test cases during test suite reduction
    Jeffrey, Dennis
    Gupta, Neelam
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2007, 33 (02) : 108 - 123