Automatic Test Case Generation based on Genetic Algorithm and Mutation Analysis

被引:0
|
作者
Haga, Hirohide [1 ]
Suehiro, Akihisa [2 ]
机构
[1] Doshisha Univ, Dept Comp Sci, Kyotanabe 6100321, Japan
[2] Doshisha Univ, Grad Sch Engn, Kyotanabe 6100321, Japan
来源
2012 IEEE INTERNATIONAL CONFERENCE ON CONTROL SYSTEM, COMPUTING AND ENGINEERING (ICCSCE 2012) | 2012年
关键词
Genetic Algorithm (GA); Software Testing; Assessment of Test Cases; Mutation Analysis;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
This paper proposes a method that automatically generates software test cases based on a genetic algorithm and mutation analysis. Our method combines random generation and refinement. Each test case is generated randomly in the first step, and then a set of test cases is refined by the genetic algorithm. To measure the adequacy of the test case set, we use mutation scores, which are based on the mutation analysis of software testing. Our proposed method, which is applied to a C programing language program, automatically generated test case sets with 100% branch and boundary value coverages. The generation time of one test case set was approximately 130 ms.
引用
收藏
页码:119 / 123
页数:5
相关论文
共 50 条
  • [11] Automatic test data generation for data flow testing using a genetic algorithm
    Girgis, MR
    JOURNAL OF UNIVERSAL COMPUTER SCIENCE, 2005, 11 (06) : 898 - 915
  • [12] Automatic test data generation using genetic algorithm and program dependence graphs
    Miller, James
    Reformat, Marek
    Zhang, Howard
    INFORMATION AND SOFTWARE TECHNOLOGY, 2006, 48 (07) : 586 - 605
  • [13] Test Case Prioritization Technique based on Genetic Algorithm
    Jun, Wang
    Yan, Zhuang
    Chen, Jianyun
    2010 THE 3RD INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND INDUSTRIAL APPLICATION (PACIIA2010), VOL II, 2010, : 406 - 408
  • [14] CONSTRAINT-BASED AUTOMATIC TEST DATA GENERATION
    DEMILLO, RA
    OFFUTT, AJ
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1991, 17 (09) : 900 - 910
  • [15] Automatic Goal-oriented Test Data Generation Using a Genetic Algorithm and Simulated Annealing
    Mann, Mukesh
    Sangwan, Om Praksah
    Tomar, Pradeep
    Singh, Shivani
    2016 6th International Conference - Cloud System and Big Data Engineering (Confluence), 2016, : 83 - 87
  • [16] Mutation based test case generation via a path selection strategy
    Papadakis, Mike
    Malevris, Nicos
    INFORMATION AND SOFTWARE TECHNOLOGY, 2012, 54 (09) : 915 - 932
  • [17] A new automatic test data generation algorithm based on PSO-ACO
    Zhao, Xiaomin
    Wang, Yiting
    Ding, Xiaoming
    PROCEEDINGS OF THE 4TH INTERNATIONAL CONFERENCE ON MECHATRONICS, MATERIALS, CHEMISTRY AND COMPUTER ENGINEERING 2015 (ICMMCCE 2015), 2015, 39 : 1159 - 1165
  • [18] Test Case Prioritization Based on Genetic Algorithm and Test-Points Coverage
    Zhang, Weixiang
    Wei, Bo
    Du, Huisen
    ALGORITHMS AND ARCHITECTURES FOR PARALLEL PROCESSING, ICA3PP 2014, PT I, 2014, 8630 : 644 - 654
  • [19] Study on Automatic Software Test Case Generation
    Mulla, Nilofar
    Jayakumar, Naveenkumar
    Joshi, Shashank
    Godse, Deepali
    PROCEEDINGS OF THE 5TH INTERNATIONAL CONFERENCE ON DATA SCIENCE, MACHINE LEARNING AND APPLICATIONS, VOL 1, ICDSMLA 2023, 2025, 1273 : 251 - 258
  • [20] Retrospective on: Constraint-Based Automatic Test Data Generation
    Offutt, Jeff
    Demillo, Richard
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2025, 51 (03) : 754 - 758