Automatic generation of basis test paths using variable length genetic algorithm

被引:47
|
作者
Ghiduk, Ahmed S. [1 ,2 ]
机构
[1] Taif Univ, Coll Comp & Informat Technol, At Taif, Saudi Arabia
[2] Beni Suef Univ, Fac Sci, Dept Math & Comp Sci, Bani Suwayf, Egypt
关键词
Software engineering; Genetic algorithm; Basis path testing; Test path generation; SOFTWARE TEST DATA;
D O I
10.1016/j.ipl.2014.01.009
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Path testing is the strongest coverage criterion in white box testing. Finding target paths is a key challenge in path testing. Genetic algorithms have been successfully used in many software testing activities such as generating test data, selecting test cases and test cases prioritization. In this paper, we introduce a new genetic algorithm for generating test paths. In this algorithm the length of the chromosome varies from iteration to another according to the change in the length of the path. Based on the proposed algorithm, we present a new technique for automatically generating a set of basis test paths which can be used as testing paths in any path testing method. The proposed technique uses a method to verify the independency of the generated paths to be included in the basis set of paths. In addition, this technique employs a method for checking the feasibility of the generated paths. We introduce new definitions for the key concepts of genetic algorithm such as chromosome representation, crossover, mutation, and fitness function to be compatible with path generation. In addition, we present a case study to show the efficiency of our technique. We conducted a set of experiments to evaluate the effectiveness of the proposed path generation technique. The results showed that the proposed technique causes substantial reduction in path generation effort, and that the proposed GA algorithm is effective in test path generation. (c) 2014 Elsevier B.V. All rights reserved.
引用
收藏
页码:304 / 316
页数:13
相关论文
共 50 条
  • [41] Automatic State-Based Test Generation Using Genetic Algorithms
    Lefticaru, Raluca
    Ipate, Florentin
    NINTH INTERNATIONAL SYMPOSIUM ON SYMBOLIC AND NUMERIC ALGORITHMS FOR SCIENTIFIC COMPUTING, PROCEEDINGS, 2007, : 188 - 195
  • [42] Automatic test pattern generation for sequential circuits using genetic algorithms
    Rajesh, V
    Jain, A
    ELEVENTH INTERNATIONAL CONFERENCE ON VLSI DESIGN, PROCEEDINGS, 1997, : 270 - 273
  • [43] Generation of Test Data Using Genetic Algorithm and Constraint Solver
    Ngoc-Thi Dinh
    Hieu-Dinh Vo
    Thi-Dao Vu
    Viet-Ha Nguyen
    ADVANCED TOPICS IN INTELLIGENT INFORMATION AND DATABASE SYSTEMS, 2017, 710 : 499 - 513
  • [44] Test Data Generation for Mutation Testing Using Genetic Algorithm
    Mishra, Deepti Bala
    Mishra, Rajashree
    Acharya, Arup Abhinna
    Das, Kedar Nath
    SOFT COMPUTING FOR PROBLEM SOLVING, 2019, 817 : 857 - 867
  • [45] Genetic Algorithm-Based Test Data Generation for Multiple Paths via Individual Sharing
    Yao, Xiangjuan
    Gong, Dunwei
    COMPUTATIONAL INTELLIGENCE AND NEUROSCIENCE, 2014, 2014
  • [46] An Adaptive Test Sheet Generation Mechanism Using Genetic Algorithm
    Lin, Huan-Yu
    Su, Jun-Ming
    Tseng, Shian-Shyong
    MATHEMATICAL PROBLEMS IN ENGINEERING, 2012, 2012
  • [47] Test Case Generation for Vulnerability Detection Using Genetic Algorithm
    Shuai, Bo
    Li, Haifeng
    Wang, Jian
    Zhang, Quan
    Tang, Chaojing
    PROCEEDINGS OF THE 2015 4TH NATIONAL CONFERENCE ON ELECTRICAL, ELECTRONICS AND COMPUTER ENGINEERING ( NCEECE 2015), 2016, 47 : 1198 - 1203
  • [48] Study on automatic test generation of sequential circuit using ant algorithm
    Li, Z
    Xu, CP
    Mo, W
    Chen, GJ
    ICEMI'2001: FIFTH INTERNATIONAL CONFERENCE ON ELECTRONIC MEASUREMENT AND INSTRUMENTS, VOL 1, CONFERENCE PROCEEDINGS, 2001, : 74 - 78
  • [49] Automatic path generation for group dance performance using a genetic algorithm
    Lee, Jeong-Seob
    Lee, Sung-Hee
    MULTIMEDIA TOOLS AND APPLICATIONS, 2019, 78 (06) : 7517 - 7541
  • [50] AUTOMATIC MOLECULE GENERATION USING MANIFOLD GUIDANCE GAN AND GENETIC ALGORITHM
    Huang, Yiheng
    Huang, Lei
    Fu, Hongguang
    2022 19TH INTERNATIONAL COMPUTER CONFERENCE ON WAVELET ACTIVE MEDIA TECHNOLOGY AND INFORMATION PROCESSING (ICCWAMTIP), 2022,