首页 | 本学科首页   官方微博 | 高级检索  
     检索      

一种改进的遗传算法在测试用例中的应用研究
引用本文:莫赞,李燕飞,杨清平.一种改进的遗传算法在测试用例中的应用研究[J].科技咨询导报,2014(5):247-250.
作者姓名:莫赞  李燕飞  杨清平
作者单位:广东工业大学管理学院,广东广州510520
摘    要:测试用例的自动生成是软件测试的重要环节,其关键问题是路径搜索问题,遗传算法作为一种高效的搜索寻优算法被广泛应用到测试用倒中。该文提出一种改进的遗传算法,对选择算子和交叉算子进行改进,把传统遗传算法和最优保存策略相结合,提高遗传算法的局部搜索能力。研究表明,该算法比传统遗传算法在生成测试用例的效率方面更具优势。

关 键 词:测试用例  路径搜索  遗传算法

Applied Research on An Improved Genetic Algorithm Used in Optimizing Test Cases for Automatic Generation
MO Zan,LI Yanfei,YANG Qingping.Applied Research on An Improved Genetic Algorithm Used in Optimizing Test Cases for Automatic Generation[J].Science and Technology Consulting Herald,2014(5):247-250.
Authors:MO Zan  LI Yanfei  YANG Qingping
Institution:(School of Management, Guangdong University of Technology, Guangzhou 510520, China)
Abstract:Test data generation is one of the major task in the software testing process, the key problem is the path search problem,as an effective search algorithm, genetic algorithm has been widely used for test date generation. This paper proposes a modified genetic algorithm, improves the select and crossover operator of genetic algorithm against the shortcomings of premature convergence, and combines the improved selection operator and the optimal preservation strategy for improving search capabilities in the local space and the overall operating efficiency. Experimental result shows that the new algorithm has obvious advantages compared with traditional genetic algorithm.
Keywords:testing process path search genetic algorithm
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号