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 条
  • [31] Mutation-Based Minimal Test Suite Generation for Boolean Expressions
    Ayav, Tolga
    Belli, Fevzi
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2023, 33 (06) : 865 - 884
  • [32] Optimize the Software Testing Efficiency using Genetic Algorithm and Mutation Analysis
    Khan, Rijwan
    Amjad, Mohd
    PROCEEDINGS OF THE 10TH INDIACOM - 2016 3RD INTERNATIONAL CONFERENCE ON COMPUTING FOR SUSTAINABLE GLOBAL DEVELOPMENT, 2016, : 1174 - 1176
  • [33] TEST DATA GENERATION FOR SOFTWARE TESTING BASED ON QUANTUM-INSPIRED GENETIC ALGORITHM
    Mao, Chengying
    Yu, Xinxin
    INTERNATIONAL JOURNAL OF COMPUTATIONAL INTELLIGENCE AND APPLICATIONS, 2013, 12 (01)
  • [34] Model-based automatic test case generation for automotive embedded software testing
    Shin, Ki-Wook
    Lim, Dong-Jin
    INTERNATIONAL JOURNAL OF AUTOMOTIVE TECHNOLOGY, 2018, 19 (01) : 107 - 119
  • [35] Model-based automatic test case generation for automotive embedded software testing
    Ki-Wook Shin
    Dong-Jin Lim
    International Journal of Automotive Technology, 2018, 19 : 107 - 119
  • [36] A Genetic Algorithm-Based Heuristic Method for Test Set Generation in Reversible Circuits
    Nagamani, A. N.
    Anuktha, S. N.
    Nanditha, N.
    Agrawal, Vinod Kumar
    IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2018, 37 (02) : 324 - 336
  • [37] A survey on mutation testing methods, fault classifications and automatic test cases generation
    Jeevarathinam, R.
    Thanamani, Antony Selvadoss
    JOURNAL OF SCIENTIFIC & INDUSTRIAL RESEARCH, 2011, 70 (02): : 113 - 117
  • [38] Automatic Generation of Test Cases from Formal Specifications using Mutation Testing
    Jaramillo Cajica, Roman
    Gonzalez Torres, Raul Ernesto
    Mejia Alvarez, Pedro
    2021 18TH INTERNATIONAL CONFERENCE ON ELECTRICAL ENGINEERING, COMPUTING SCIENCE AND AUTOMATIC CONTROL (CCE 2021), 2021,
  • [39] Automatic test data generation for program paths using genetic algorithms
    Bueno, PMS
    Jino, M
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2002, 12 (06) : 691 - 709
  • [40] Total Coverage Based Regression Test Case Prioritization using Genetic Algorithm
    Konsaard, Patipat
    Ramingwong, Lachana
    2015 12TH INTERNATIONAL CONFERENCE ON ELECTRICAL ENGINEERING/ELECTRONICS, COMPUTER, TELECOMMUNICATIONS AND INFORMATION TECHNOLOGY (ECTI-CON), 2015,