Genetic algorithm based test data generator

被引:20
|
作者
Hermadi, I [1 ]
Ahmed, MA [1 ]
机构
[1] King Fahd Univ Petr & Minerals, Dept Informat & Comp Sci, Dhahran 31261, Saudi Arabia
关键词
D O I
10.1109/CEC.2003.1299560
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Effective and efficient test data generation is one of the major challenging and time-consuming tasks within the software testing process. Researchers have proposed different methods to generate test data automatically, however, those methods suffer from different drawbacks. In this paper we present a Genetic Algorithm-based approach that tries to generate a set of test data that is expected to cover a given set of target paths. Our proposed fitness function is intended to achieve path coverage that incorporates path traversal techniques, neighborhood influence, weighting, and normalization. This integration improves the GA performance in terms of search space exploitation and exploration, and allows faster convergence. We performed some experiments using our proposed approach, where results were promising.
引用
收藏
页码:85 / 91
页数:7
相关论文
共 50 条
  • [1] Test pattern generator design optimization based on genetic algorithm
    Garbolino, Tomasz
    Papa, Gregor
    NEW FRONTIERS IN APPLIED ARTIFICIAL INTELLIGENCE, 2008, 5027 : 580 - +
  • [2] Genetic algorithm for test pattern generator design
    Garbolino, Tomasz
    Papa, Gregor
    APPLIED INTELLIGENCE, 2010, 32 (02) : 193 - 204
  • [3] Generating Test Data for Path Coverage Based on Genetic Algorithm
    Fan, Shuping
    Ma, Baoying
    Yao, Nianmin
    Zhang, Yan
    Xia, Chunyan
    Zhang, Dan
    3RD ANNUAL INTERNATIONAL CONFERENCE ON CLOUD TECHNOLOGY AND COMMUNICATION ENGINEERING, 2020, 719
  • [4] MC/DC Test Data Generation Algorithm Based on Whale Genetic Algorithm
    LIU Huiying
    LIU Ziyang
    YAN Minghui
    Instrumentation, 2022, 9 (02) : 1 - 12
  • [5] Deterministic test pattern generator design with genetic algorithm approach
    Papa, Gregor
    Garbolino, Tomasz
    Novak, Franc
    Hlawiczka, Andrzej
    JOURNAL OF ELECTRICAL ENGINEERING-ELEKTROTECHNICKY CASOPIS, 2007, 58 (03): : 121 - 127
  • [6] Genetic algorithm for test pattern generator designAutomatic evolution of circuits
    Tomasz Garbolino
    Gregor Papa
    Applied Intelligence, 2010, 32 : 193 - 204
  • [7] Mutated Specification-Based Test Data Generation with a Genetic Algorithm
    Wang, Rong
    Sato, Yuji
    Liu, Shaoying
    MATHEMATICS, 2021, 9 (04) : 1 - 19
  • [8] Test Data Generation Based on Hybrid Tabu Annealing Genetic Algorithm
    Luo, Fan
    Shen, Gang
    TRANSDISCIPLINARY ENGINEERING: A PARADIGM SHIFT, 2017, 5 : 1003 - 1009
  • [9] A Genetic Algorithm-Based Stress Test Requirements Generator Tool and Its Empirical Evaluation
    Garousi, Vahid
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2010, 36 (06) : 778 - 797
  • [10] Genetic algorithm improvement in test data generation
    Feng, Junchi
    Yu, Lei
    Jisuanji Fuzhu Sheji Yu Tuxingxue Xuebao/Journal of Computer-Aided Design and Computer Graphics, 2015, 27 (10): : 2008 - 2014