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 条
  • [41] An Improved Genetic Algorithm for Test Cases Generation Oriented Paths
    Mei Jia
    Wang Shengyuan
    CHINESE JOURNAL OF ELECTRONICS, 2014, 23 (03) : 494 - 498
  • [42] An Improved Genetic Algorithm for Test Cases Generation Oriented Paths
    MEI Jia
    WANG Shengyuan
    ChineseJournalofElectronics, 2014, 23 (03) : 494 - 498
  • [43] Test data generation based on automatic division of path
    Liao W.-Z.
    Liao, Wei-Zhi (weizhiliao2002@aliyun.com), 1600, Chinese Institute of Electronics (44): : 2254 - 2261
  • [44] The Research of Test Case Generation and Its Optimization Methods Based on Orthogonal Test Method and Greedy Algorithm
    Tian, Pei
    Leng, Huaijing
    Yang, Shaohua
    Wang, Yufang
    2009 INTERNATIONAL CONFERENCE ON INTELLIGENT HUMAN-MACHINE SYSTEMS AND CYBERNETICS, VOL 1, PROCEEDINGS, 2009, : 474 - 477
  • [45] On the Evaluation of Software Maintainability Using Automatic Test Case Generation
    Nogueira, Ana Filipa
    Ribeiro, Jose C. B.
    Zenha-Rela, Mario A.
    2014 9TH INTERNATIONAL CONFERENCE ON THE QUALITY OF INFORMATION AND COMMUNICATIONS TECHNOLOGY (QUATIC), 2014, : 300 - 305
  • [46] UML Activity Diagram-Based Automatic Test Case Generation For Java']Java Programs
    Chen, Mingsong
    Qiu, Xiaokang
    Xu, Wei
    Wang, Linzhang
    Zhao, Jianhua
    Li, Xuandong
    COMPUTER JOURNAL, 2009, 52 (05) : 545 - 556
  • [47] An Adequacy Based Test Data Generation Technique Using Genetic Algorithms
    Malhotra, Ruchika
    Garg, Mohit
    JOURNAL OF INFORMATION PROCESSING SYSTEMS, 2011, 7 (02): : 363 - 384
  • [48] Automatic generation of test cases algorithm design and implementation for fuze software testing
    Lou, WZ
    Wang, LP
    ISTM/2005: 6th International Symposium on Test and Measurement, Vols 1-9, Conference Proceedings, 2005, : 2037 - 2040
  • [49] Optimization of Automatic Generated Test Cases for Path Testing Using Genetic Algorithm
    Khan, Rijwan
    Amjad, Mohd
    Srivastava, Akhilesh Kumar
    2016 SECOND INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE & COMMUNICATION TECHNOLOGY (CICT), 2016, : 32 - 36
  • [50] Cloud-based automatic test data generation framework
    Chawla, Priyanka
    Chana, Inderveer
    Rana, Ajay
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2016, 82 (05) : 712 - 738