计算机科学 ›› 2012, Vol. 39 ›› Issue (5): 124-127.

• 软件工程 • 上一篇    下一篇

基于遗传算法的动态可变参数的测试数据自动生成工具

史娇娇,姜淑娟   

  1. (中国矿业大学计算机科学与技术学院 徐州221116)
  • 出版日期:2018-11-16 发布日期:2018-11-16

Automatic Test Data Generation Tool of Dynamic Variable Parameters Based on Genetic Algorithm

  • Online:2018-11-16 Published:2018-11-16

摘要: 测试数据的生成是实现软件测试自动化的关键,这一技术的实现大大节省了软件开发的时间和费用。利用遗传算法的理论与算法特点,建立了动态可变参数的测试数据自动生成工具。通过该工具的可视化界面可以动态地输入遗传算法参数,而且能够根据不同的路径选择输入相应的适应度函数,克服了以往在源代码中修改适应度函数的缺陷。最后通过两个实验,证明了算法的优越性。

关键词: 软件测试,测试数据自动生成,可视化,遗传算法,适应度函数

Abstract: Test data generation is the key of implementing software test automation, and the realization of this technology can greatly save for time and money of software development. This paper, using genetic algorithm theory and algorithm characteristics, established a test data automatic generation tool of variable parameter dynamic. Through the visual interface of the tool, you can input genetic algorithm parameters dynamically. And according to the different path selection you can input corresponding fitness function, overcome defects that fitness function is modified in the source code in the past. Finally through the two experiments,we can prove the superiority of the algorithm in this paper.

Key words: Software testing,Automatic test data generation,Visual,Genetic algorithm,Fitness function

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!