计算机工程与科学 ›› 2010, Vol. 32 ›› Issue (5): 51-53.
• • 上一篇 下一篇
李克文,张自鲁
收稿日期:
修回日期:
出版日期:
发布日期:
通讯作者:
作者简介:
LI Kewen,ZHANG Zilu
Received:
Revised:
Online:
Published:
Contact:
摘要:
自动化测试可以有效地提高软件测试效率,降低软件开发成本。测试数据自动生成是自动化测试过程中一个非常重要的环节。以路径覆盖为准则,本文提出一种利用遗传蚁群混合算法来对程序输入域进行搜索的方法,进而生成满足需要的测试数据。经过实验验证,该算法可以有效地生成满足覆盖准则并且分布多样的测试数据。
关键词: 自动化测试, 路径覆盖, 混合算法
Abstract:
Automatic test can improve the efficiency of software test and reduce the cost of development. Automatic generation of the test data is a very important part in the automated test process. Based on the path coverage criterion, this paper uses the GeneticAnt Colony Mixed Algorithm to search the input domain in order to generate the test data which meet the coverage criterion. The experimental results show the mixed algorithm generates test data effectively.
Key words: 自动化测试, 路径覆盖, 混合算法
中图分类号:
TP311
李克文, 张自鲁. 基于遗传-蚁群混合算法的软件测试数据自动生成方法[J]. 计算机工程与科学, 2010, 32(5): 51-53.
LI Kewen, ZHANG Zilu. A Method for the Automatic Test Data Generation Based on the GeneticAnt Colony Hybrid Algorithm[J]. Computer Engineering & Science, 2010, 32(5): 51-53.
0 / / 推荐
导出引用管理器 EndNote|Ris|BibTeX
链接本文: http://joces.nudt.edu.cn/CN/
http://joces.nudt.edu.cn/CN/Y2010/V32/I5/51