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 条
  • [41] An automatic test case generation method based on user session and agglutinate hierarchical clustering algorithm
    Guo, Yang
    Lu, Lu
    JOURNAL OF COMPUTATIONAL METHODS IN SCIENCES AND ENGINEERING, 2019, 19 (01) : 57 - 70
  • [42] A Method of Automatic Test Case Generation Based on CT-LSSVM Algorithm in FAO Systems
    Wang, Sha
    Shang, Qingyuan
    Ling, Zhujun
    Liu, Dandan
    Chen, Xiangxian
    2020 IEEE 5TH INTERNATIONAL CONFERENCE ON INTELLIGENT TRANSPORTATION ENGINEERING (IEEE ICITE 2020), 2020, : 259 - 264
  • [43] Automatic generation of basis test paths using variable length genetic algorithm
    Ghiduk, Ahmed S.
    INFORMATION PROCESSING LETTERS, 2014, 114 (06) : 304 - 316
  • [44] Automatic test data generation for data flow testing using a genetic algorithm
    Girgis, MR
    JOURNAL OF UNIVERSAL COMPUTER SCIENCE, 2005, 11 (06) : 898 - 915
  • [45] Test Case Generation for Vulnerability Detection Using Genetic Algorithm
    Shuai, Bo
    Li, Haifeng
    Wang, Jian
    Zhang, Quan
    Tang, Chaojing
    PROCEEDINGS OF THE 2015 4TH NATIONAL CONFERENCE ON ELECTRICAL, ELECTRONICS AND COMPUTER ENGINEERING ( NCEECE 2015), 2016, 47 : 1198 - 1203
  • [46] Automatic Test Path Generation from Sequence Diagram Using Genetic Algorithm
    Hoseini, Bahare
    Jalili, Saeed
    2014 7TH INTERNATIONAL SYMPOSIUM ON TELECOMMUNICATIONS (IST), 2014, : 106 - 111
  • [47] 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
  • [49] A test paper generation algorithm based on diseased enhanced genetic algorithm
    Cui, JunChuan
    Zhou, Ya
    Huang, Guimin
    HELIYON, 2023, 9 (06)
  • [50] ISTA: Automatic Test Case Generation and Optimization for Intelligent Systems based on Coverage Analysis
    Zheng, Wei
    Lin, Lidan
    Chen, Xiang
    Liu, Guoliang
    Huang, Hao
    Shen, Jinjin
    Xu, Qingqing
    Gu, Yizeng
    2023 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING, SANER, 2023, : 758 - 762