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
关键词
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 条
  • [31] A Genetic Algorithm for Automatic Business Process Test Case Selection
    Boehmer, Kristof
    Rinderle-Ma, Stefanie
    ON THE MOVE TO MEANINGFUL INTERNET SYSTEMS: OTM 2015 CONFERENCES, 2015, 9415 : 166 - 184
  • [32] Test Generation Algorithm for Linear Systems Based on Genetic Algorithm
    Ting Long
    Houjun Wang
    Shulin Tian
    Jianguo Huang
    Bing Long
    Journal of Electronic Testing, 2010, 26 : 419 - 428
  • [33] Test Generation Algorithm for Linear Systems Based on Genetic Algorithm
    Long, Ting
    Wang, Houjun
    Tian, Shulin
    Huang, Jianguo
    Long, Bing
    JOURNAL OF ELECTRONIC TESTING-THEORY AND APPLICATIONS, 2010, 26 (04): : 419 - 428
  • [34] A Coevolutionary Algorithm to Automatic Test Case Selection and Mutant in Mutation Testing
    Lobo de Oliveira, Andre Assis
    Camilo-Junior, Celso Goncalves
    Vincenzi, Auri M. R.
    2013 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION (CEC), 2013, : 829 - 836
  • [35] Research on Automatic Generation of BIM Schedule Based on Genetic Algorithm
    Yang, Yuqing
    AGRO FOOD INDUSTRY HI-TECH, 2017, 28 (03): : 2645 - 2648
  • [36] A Method for Test Case Generation by Improved Genetic Algorithm Based on Static Structure of Procedure
    Wen Jing
    Zhang Yikun
    Zhao Ming
    Chen Hao
    Hei Xinhong
    Shen Jianxiong
    PROCEEDINGS OF THE 2017 12TH IEEE CONFERENCE ON INDUSTRIAL ELECTRONICS AND APPLICATIONS (ICIEA), 2017, : 1499 - 1504
  • [37] A genetic algorithm-based segmentation for automatic VOP generation
    Kim, EY
    Park, SH
    PROTOCOLS AND SYSTEMS FOR INTERACTIVE DISTRIBUTED MULTIMEDIA, PROCEEDINGS, 2002, 2515 : 106 - 117
  • [38] Automatic Generation and Evolution of Personalized Curriculum Based on Genetic Algorithm
    Duan, Xiaocong
    INTERNATIONAL JOURNAL OF EMERGING TECHNOLOGIES IN LEARNING, 2019, 14 (12) : 15 - 28
  • [39] Component-Based Test Case Generation and Prioritization Using an Improved Genetic Algorithm
    Priya, T.
    Prasanna, M.
    INTERNATIONAL JOURNAL OF COOPERATIVE INFORMATION SYSTEMS, 2023,
  • [40] Automatic mesh generation based on skilled knowledge by genetic algorithm
    Nakao, T
    Noguchi, M
    Yonezawa, Y
    Sakata, M
    Suzuki, A
    1996 IEEE INTERNATIONAL CONFERENCE ON EVOLUTIONARY COMPUTATION (ICEC '96), PROCEEDINGS OF, 1996, : 861 - 866