期刊文献+

一种改进的遗传算法在测试用例中的应用研究 被引量:1

Applied Research on An Improved Genetic Algorithm Used in Optimizing Test Cases for Automatic Generation
下载PDF
导出
摘要 测试用例的自动生成是软件测试的重要环节,其关键问题是路径搜索问题,遗传算法作为一种高效的搜索寻优算法被广泛应用到测试用例中。该文提出一种改进的遗传算法,对选择算子和交叉算子进行改进,把传统遗传算法和最优保存策略相结合,提高遗传算法的局部搜索能力。研究表明,该算法比传统遗传算法在生成测试用例的效率方面更具优势。 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.
出处 《科技创新导报》 2014年第5期247-250,共4页 Science and Technology Innovation Herald
关键词 测试用例 路径搜索 遗传算法 testing process path search genetic algorithm
  • 相关文献

参考文献10

  • 1梁家安,张伟.基于OFGA的软件测试用例自动生成[J].计算机工程与设计,2011,32(7):2395-2397. 被引量:1
  • 2Jin-Cherng Lin, Pu-Lin Yeh. Using Genetic Algorithms for Test Case Generation in Path Testing[C].Ninth Asian Test Symposium(ATS00):241-246.
  • 3Jin-Cherng Lin,Pu-Lin Yeh. Automatic test data generation for Path Testing using Gas[J]. Information Sciences,2001,131: 47-64.
  • 4Jones B F,Eyres D E, Sthamer H H.A strategy for using genetic algorithms to automate branch and fault- based testing/JJ.The Computer Journal, 1998,41(2):98-107.
  • 5王林,尤枫,赵瑞莲.基于改进遗传算法的面向路径测试数据生成[J].计算机工程,2012,38(4):158-161. 被引量:6
  • 6J.H.Holland.Genetic algo- rithms and the optimal al- location of trials. SIAh4 J.Comput.,1973:89-104.
  • 7J.H.Holland"Adaptation in na- ture and artificial systems.Ad- dison-Wesley, 1975.
  • 8B. F. Jones, H-H. Stha mer, D. E.Eyes. Automatic Struc- tural Testing Using Genetic Algorithms[J].Software Engi- neering Journal, 1996,9:299-306.
  • 9李柱,丁晓明.用于测试用例生成的遗传算法改进[J].科学技术与工程,2011,11(5):988-992. 被引量:5
  • 10Jin-Cherng Lin, Pu-Lin Yeh. Using Genetic Algorithms for Test Case Generation in Path Testing,Institute of Electri- cal and Electronics Engi- neers, 2000:241-246.

二级参考文献24

  • 1史亮,聂长海,徐宝文.基于解空间树的组合测试数据生成[J].计算机学报,2006,29(6):849-857. 被引量:31
  • 2荚伟,高仲仪.用遗传算法实现软件结构测试数据的自动生成[J].计算机与数字工程,1996,24(1):7-14. 被引量:2
  • 3刘慧梅,徐华宇.软件测试中代码分析与插装技术的研究[J].计算机工程,2007,33(1):86-88. 被引量:9
  • 4Tracey N,Clark J,Mander K.The way forward for unifying test case generation:The optimization-based approach.International Workshop on Dependable Computing and Its Applications.Dept of Computer Science,University of Witwatersrand,Johannesburg,South Af rica,1998:169-180.
  • 5Kuo T,Hwang S.A genetic algorithm with disruptive selection,IEEE Transactions on Systems,Man and Cybernetics Cybernetics Part B:Cybernetics,1996;26(2):65-69.
  • 6李敏强,寇纪淞,林丹,等.遗传算法的基本原理及应用.北京:科学出版社,2002.
  • 7James C. King. Symbolic Execution and Program Testing[J]. Communications of the ACM, 1976, 19(7): 385-394.
  • 8Chen Jifeng, Zhu Li, Shen Junyi. An Approach on Automatic Test Data Generation with Predicate Constraint Solving Technique[J]. International Journal of Information Technology, 2006, 12(3): 132-141.
  • 9Tracey N, Clark J, Mander K. Automated Program Flaw Finding Using Simulated Annealing[C] //Proc. of International Symposium on Software Testing and Analysis. New York, USA: [s. n.] , 1998: 231-251.
  • 10Holland J. Adaptation in Natural and Artificial Systems[M]. [S. 1.] : University of Michigan Press, 1975.

共引文献8

同被引文献8

引证文献1

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部