Author Login Editor-in-Chief Peer Review Editor Work Office Work

Computer Engineering ›› 2010, Vol. 36 ›› Issue (11): 50-51,54. doi: 10.3969/j.issn.1000-3428.2010.11.018

• Networks and Communications • Previous Articles     Next Articles

Test Case Generation Tool Based on Adaptive Genetic Algorithm

LIN Peng, BAO Xiao-lu, WANG Xiao-juan, LI Bing   

  1. (China Institute of Electronic System Engineering Company, Beijing 100141)
  • Online:2010-06-05 Published:2010-06-05

基于自适应遗传算法的测试用例生成工具

林 鹏,包晓露,王小娟,李 冰   

  1. (中国电子系统设备工程公司研究所,北京 100141)
  • 作者简介:林 鹏(1982-),男,硕士,主研方向:智能计算,模式识别,软件测试;包晓露、王小娟,高级工程师;李 冰,助理工程师

Abstract:

An algorithm of test case generation for combinatorial design is proposed in this paper. The conception of pair-index table is defined, based on which the adaptive genetic algorithm is introduced to generate test cases. The tool developed based on the proposed algorithm, GATG, is presented. Compared with the same kind of tools, GATG almost has the same performance in the experiment, and the algorithm is useful and improvable.

Key words: pair-wise strategy, pair-index table, adaptive genetic algorithm

摘要:

提出一种“对组合”测试用例生成算法。给出“对组合”索引表的概念。在索引表的基础上,实现一种自适应遗传算法生成测试用例集合。介绍使用该方法开发的测试用例自动生成工具GATG。实验证明,该方法基本达到国际同类工具的平均水平,具有较好的使用价值和应用前景。

关键词: pair-wise策略, “对组合”索引表, 自适应遗传算法

CLC Number: