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 条
  • [21] An Output-Oriented Approach of Test Data Generation Based on Genetic Algorithm
    Zhang, Weixiang
    Wei, Bo
    Du, Huisen
    ALGORITHMS AND ARCHITECTURES FOR PARALLEL PROCESSING, ICA3PP 2015, 2015, 9532 : 100 - 108
  • [22] Automatic Generation and Optimization of Test case using Hybrid Cuckoo Search and Bee Colony Algorithm
    Lakshminarayana, P.
    SureshKumar, Dr T. V.
    JOURNAL OF INTELLIGENT SYSTEMS, 2021, 30 (01) : 59 - 72
  • [23] Validating Test Case Migration via Mutation Analysis
    Jovanovikj, Ivan
    Yigitbas, Enes
    Nagaraj, Achyuth
    Anjorin, Anthony
    Sauer, Stefan
    Engels, Gregor
    2020 IEEE/ACM 15TH INTERNATIONAL CONFERENCE ON AUTOMATION OF SOFTWARE TEST, AST, 2020, : 31 - 40
  • [24] Analysis of the Automatic Test Generation Tool: CREST
    Chen, Ruidong
    Luo, Yu
    Li, Ruixing
    Zhang, Xiaosong
    Ying, Lingyun
    2016 INTERNATIONAL CONFERENCE ON INTELLIGENT TRANSPORTATION, BIG DATA & SMART CITY (ICITBS), 2017, : 68 - 72
  • [25] Automatic Test Case Generation for UML Collaboration Diagrams
    Prasanna, M.
    Chandran, K. R.
    Thiruvenkadam, K.
    IETE JOURNAL OF RESEARCH, 2011, 57 (01) : 77 - 81
  • [26] Generation of Pairwise Test Sets using a Genetic Algorithm
    McCaffrey, James D.
    2009 IEEE 33RD INTERNATIONAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE, VOLS 1 AND 2, 2009, : 620 - 625
  • [27] Systematic Mapping Study in Automatic Test Case Generation
    Mohi-Aldeen, Shayma Mustafa
    Deris, Safaai
    Mohamad, Radziah
    NEW TRENDS IN SOFTWARE METHODOLOGIES, TOOLS AND TECHNIQUES, 2014, 265 : 703 - 720
  • [28] Proposal of Iterative Genetic Algorithm for Test Suite Generation
    Bansal, Ankita
    Jain, Abha
    Anand, Abhijeet
    Annk, Swatantra
    INTERNATIONAL JOURNAL OF INFORMATION SYSTEM MODELING AND DESIGN, 2021, 12 (01) : 111 - 130
  • [29] Automatic Test Case Generation from Usage Information
    Silva, Pedro
    Paiva, Ana C. R.
    Restivo, Andre
    Garcia, Jorge Esparteiro
    2018 11TH INTERNATIONAL CONFERENCE ON THE QUALITY OF INFORMATION AND COMMUNICATIONS TECHNOLOGY (QUATIC), 2018, : 268 - 271
  • [30] A Statistical Test Generation Based on Mutation Analysis for Improving the Hardware Trojan Detection
    Liu, Yanjiang
    Zhao, Yiqiang
    He, Jiaji
    Xin, Ruishan
    JOURNAL OF CIRCUITS SYSTEMS AND COMPUTERS, 2020, 29 (03)