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 条
  • [21] Genetic-based Crow Search Algorithm for Test Case Generation
    Tamizharasi, A.
    Ezhumalai, P.
    INTERNATIONAL TRANSACTION JOURNAL OF ENGINEERING MANAGEMENT & APPLIED SCIENCES & TECHNOLOGIES, 2022, 13 (04):
  • [22] Application of Improved Genetic Algorithm in Automatic Test Paper Generation
    Zhang, Kui
    Zhu, Lingchen
    2015 CHINESE AUTOMATION CONGRESS (CAC), 2015, : 495 - 498
  • [23] A genetic algorithm for automatic generation of test logic for digital circuits
    Corno, F
    Prinetto, P
    Reorda, MS
    EIGHTH IEEE INTERNATIONAL CONFERENCE ON TOOLS WITH ARTIFICIAL INTELLIGENCE, PROCEEDINGS, 1996, : 10 - 16
  • [24] Test Data Generation for Mutation Testing Using Genetic Algorithm
    Mishra, Deepti Bala
    Mishra, Rajashree
    Acharya, Arup Abhinna
    Das, Kedar Nath
    SOFT COMPUTING FOR PROBLEM SOLVING, 2019, 817 : 857 - 867
  • [25] A Hybrid Genetic Algorithm Based Test Case Generation Using Sequence Diagrams
    Shirole, Mahesh
    Kumar, Rajeev
    CONTEMPORARY COMPUTING, PT 1, 2010, 94 : 53 - +
  • [26] Investigating the performance of genetic algorithm-based software test case generation
    Berndt, DJ
    Watkins, A
    EIGHTH IEEE INTERNATIONAL SYMPOSIUM ON HIGH ASSURANCE SYSTEMS ENGINEERING, PROCEEDINGS, 2004, : 261 - 262
  • [27] Research of Automatic Test Case Generation Algorithm Based on Improved Particle Swarm Optimization
    Wu, Weiwei
    PROCEEDINGS OF THE 2016 4TH INTERNATIONAL CONFERENCE ON MACHINERY, MATERIALS AND COMPUTING TECHNOLOGY, 2016, 60 : 1558 - 1562
  • [28] Particle Swarm Optimization Algorithm For Test Case Automatic Generation Based On Clustering Thought
    Dai YueMing
    Wu YiTing
    Wu DingHui
    2015 IEEE INTERNATIONAL CONFERENCE ON CYBER TECHNOLOGY IN AUTOMATION, CONTROL, AND INTELLIGENT SYSTEMS (CYBER), 2015, : 1479 - 1485
  • [29] Enhanced Genetic Algorithm for Automatic Generation of Unit and Integration Test Suite
    Bui Thi Mai Anh
    2020 RIVF INTERNATIONAL CONFERENCE ON COMPUTING & COMMUNICATION TECHNOLOGIES (RIVF 2020), 2020, : 298 - 303
  • [30] Automatic structural test data generation using immune genetic algorithm
    Yong, Chen
    Yong, Zhong
    Bao Sheng-Li
    He Fa-Mei
    PROCEEDINGS OF THE INTERNATIONAL CONFERENCE INFORMATION COMPUTING AND AUTOMATION, VOLS 1-3, 2008, : 688 - 690