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 条
  • [1] Generation of Automatic Test Cases with Mutation Analysis and Hybrid Genetic Algorithm
    Khan, Rijwan
    Amjad, Mohd
    Srivastava, Akhilesh Kumar
    2017 3RD IEEE INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE & COMMUNICATION TECHNOLOGY (CICT), 2017,
  • [2] Automatic Test Case Generation for Unit Software Testing Using Genetic Algorithm and Mutation Analysis
    Khan, Rijwan
    Amjad, Mohd.
    2015 IEEE UP SECTION CONFERENCE ON ELECTRICAL COMPUTER AND ELECTRONICS (UPCON), 2015,
  • [3] Research on Automatic Test Case Generation Based on Genetic Algorithm
    Liu, Yang
    Wang, Dan
    Fu, Li-Hua
    INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND COMMUNICATION ENGINEERING (CSCE 2015), 2015, : 939 - 946
  • [4] Genetic Algorithm for Automatic Generation of Representative Test Suite for Mutation Testing
    Rao, C. Prakasa
    Govindarajulu, P.
    INTERNATIONAL JOURNAL OF COMPUTER SCIENCE AND NETWORK SECURITY, 2015, 15 (02): : 11 - 17
  • [5] Search Based Techniques and Mutation Analysis in Automatic Test Case Generation: A Survey
    Dave, Meenu
    Agrawal, Rashmi
    2015 IEEE INTERNATIONAL ADVANCE COMPUTING CONFERENCE (IACC), 2015, : 795 - 799
  • [6] Automatic Generation of Test Case based on GATS Algorithm
    Shen, Xiajiong
    Wang, Qian
    Wang, Peipei
    Zhou, Bo
    2009 IEEE INTERNATIONAL CONFERENCE ON GRANULAR COMPUTING ( GRC 2009), 2009, : 496 - +
  • [7] Automatic Test Case Generation and Optimization Based on Mutation Testing
    Du, Yunqi
    Pan, Ya
    Ao, Haiyang
    Alex, O.
    Fan, Yong
    2019 COMPANION OF THE 19TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY (QRS-C 2019), 2019, : 522 - 523
  • [8] Test Case Generation Based on Adaptive Genetic Algorithm
    Lin, Peng
    Bao, Xiaolu
    Shu, Zhiyong
    Wang, Xiaojuan
    Liu, Jingmin
    2012 INTERNATIONAL CONFERENCE ON QUALITY, RELIABILITY, RISK, MAINTENANCE, AND SAFETY ENGINEERING (ICQR2MSE), 2012, : 863 - 866
  • [9] Test Case Generation Based on Hierarchical Genetic Algorithm
    Liu Shurong
    Hu Changzhen
    Xue Jingfeng
    Li Zhiqiang
    PROCEEDINGS OF THE 2014 INTERNATIONAL CONFERENCE ON MECHATRONICS, CONTROL AND ELECTRONIC ENGINEERING, 2014, 113 : 262 - 265
  • [10] Effective Generation of Test Case Based on Genetic Algorithm
    Shi, Zhiguo
    Zou, Liren
    Tong, Dapeng
    Wang, Mingqian
    MECHATRONICS AND INDUSTRIAL INFORMATICS, PTS 1-4, 2013, 321-324 : 2952 - 2955