Automatic Test Data Generation Using a Genetic Algorithm

被引:0
|
作者
Aleb, Nassima [1 ]
Kechid, Samir [1 ]
机构
[1] Univ Sci & Technol Houari Boumediene, Dept Comp Sci, Algiers 16111, Algeria
关键词
Search-Based testing; Automated test data generation; Code Coverage Testing; Branch Coverage Testing; evolutionary testing;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The use of metaheuristic search techniques for the automatic generation of test data has been a burgeoning interest for many researchers in recent years. Previous attempts to automate the test generation process have been limited, having been constrained by the size and complexity of software, and the basic fact that in general, test data generation is an undecidable problem. Metaheuristic search techniques offer much promise in regard to these problems. Metaheuristic search techniques are high-level frameworks, which utilize heuristics to seek solutions for combinatorial problems at a reasonable computational cost. In this paper, we present a new evolutionary approach for automated test data generation for structural testing. Our method presents several noteworthy features: It uses a newly defined program modeling allowing an easy program manipulation. Furthermore, instead of affecting a unique value for each input variable, we assign to each input an interval. This representation has the advantage of delimiting first the input value and to refine the interval progressively. In this manner, the search space is explored more efficiently. We use an original fitness function, which expresses truthfully the individual quality. Furthermore, we define a crossover operator allowing to effectively improving individuals.
引用
收藏
页码:574 / 586
页数:13
相关论文
共 50 条
  • [1] Automatic test data generation for data flow testing using a genetic algorithm
    Girgis, MR
    [J]. JOURNAL OF UNIVERSAL COMPUTER SCIENCE, 2005, 11 (06) : 898 - 915
  • [2] Automatic structural test data generation using immune genetic algorithm
    Yong, Chen
    Yong, Zhong
    Bao Sheng-Li
    He Fa-Mei
    [J]. PROCEEDINGS OF THE INTERNATIONAL CONFERENCE INFORMATION COMPUTING AND AUTOMATION, VOLS 1-3, 2008, : 688 - 690
  • [3] Automatic test data generation using genetic algorithm and program dependence graphs
    Miller, James
    Reformat, Marek
    Zhang, Howard
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2006, 48 (07) : 586 - 605
  • [4] Automatic Goal-oriented Test Data Generation Using a Genetic Algorithm and Simulated Annealing
    Mann, Mukesh
    Sangwan, Om Praksah
    Tomar, Pradeep
    Singh, Shivani
    [J]. 2016 6th International Conference - Cloud System and Big Data Engineering (Confluence), 2016, : 83 - 87
  • [5] Automatic test data generation tool based on genetic simulated annealing algorithm
    Li Bin
    Li Zhi-Shu
    Chen Yan-Hong
    Li Bao-Lin
    [J]. CIS WORKSHOPS 2007: INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND SECURITY WORKSHOPS, 2007, : 183 - 186
  • [6] A Genetic Algorithm-based System for Automatic Control of Test Data Generation
    Pocatilu, Paul
    Ivan, Ion
    [J]. STUDIES IN INFORMATICS AND CONTROL, 2013, 22 (02): : 219 - 226
  • [7] Automatic Test Data Generation Model by Combining Dataflow Analysis with Genetic Algorithm
    Deng, Mingjie
    Chen, Rong
    Du, Zhenjun
    [J]. JCPC: 2009 JOINT CONFERENCE ON PERVASIVE COMPUTING, 2009, : 429 - 433
  • [8] Automatic Path-oriented Test Data Generation Using a Multi-population Genetic Algorithm
    Chen, Yong
    Zhong, Yong
    [J]. ICNC 2008: FOURTH INTERNATIONAL CONFERENCE ON NATURAL COMPUTATION, VOL 1, PROCEEDINGS, 2008, : 566 - 570
  • [9] Generation of Test Data Using Genetic Algorithm and Constraint Solver
    Ngoc-Thi Dinh
    Hieu-Dinh Vo
    Thi-Dao Vu
    Viet-Ha Nguyen
    [J]. ADVANCED TOPICS IN INTELLIGENT INFORMATION AND DATABASE SYSTEMS, 2017, 710 : 499 - 513
  • [10] Test Data Generation for Mutation Testing Using Genetic Algorithm
    Mishra, Deepti Bala
    Mishra, Rajashree
    Acharya, Arup Abhinna
    Das, Kedar Nath
    [J]. SOFT COMPUTING FOR PROBLEM SOLVING, 2019, 817 : 857 - 867