Test Case Generation and Reuse Based on Support Vector Machine Regression Model

被引:0
|
作者
Qian Z.-S. [1 ]
Yu Q.-Y. [1 ]
Song T. [1 ]
Zhu Y.-M. [1 ]
Zhu J. [1 ]
Zhao C. [1 ]
机构
[1] School of Information Management, Jiangxi University of Finance & Economics, Nanchang
来源
关键词
Fitness; Genetic algorithm; Support vector machine; Test case; Test reuse;
D O I
10.12263/DZXB.20200426
中图分类号
学科分类号
摘要
In the field of software testing, it is a hot research spot to generate test cases using genetic algorithm. In the traditional process of generating test cases by genetic algorithm, it is necessary to calculate the fitness of each individual. In order to reduce the time consumption of fitness calculation and reuse test cases, a test case generation and reuse method based on support vector machine regression model is proposed. In the process of using genetic algorithm to generate test cases, a certain number of individuals and their fitness are used as samples to train the support vector machine regression model. In the subsequent population evolution, individual fitness is calculated according to the regression model. At the same time, individuals with higher fitness are found by the regression model and applied to the evolution of the new population. In the experiment on a large program, compared with that of the same classical method, the coverage rate of this approach is increased by 3% and the average evolutional time is also reduced by 85.97%. © 2021, Chinese Institute of Electronics. All right reserved.
引用
收藏
页码:1386 / 1391
页数:5
相关论文
共 5 条
  • [1] YAO Xiang juan, GONG Dun wei, LI Bin, Evolutional test data generation for path coverage by integrating neural network, Journal of Software, 27, 4, pp. 828-838, (2016)
  • [2] JIANG Shu juan, WANG Ling sai, XUE Meng, Et al., Test case generation based on combination of schema using particle swarm optimization, Journal of Software, 27, 4, pp. 785-801, (2016)
  • [3] DING Rui, DONG Hong bin, ZHANG Yan, Et al., Fast automatic generation method for software testing data based on key-point path, Journal of Software, 27, 4, pp. 814-827, (2016)
  • [4] XIA Chun yan, ZHANG Yan, WAN Li, Et al., Test data generation of path coverage based on negative selection genetic algorithm, Acta Electronica Sinica, 47, 12, pp. 2630-2638, (2019)
  • [5] Nhyuk C, Hyunggoy O, Young Woo L, Sungho K., Test resource reused debug scheme to reduce the post-silicon debug cost, IEEE Transactions on Computers, 67, 12, pp. 1835-1839, (2018)