期刊文献+

基于一种遗传算法的最小测试用例集自动生成 被引量:3

Automatic Generation of Minimal Test Set Based on a Genetic Algorithm
下载PDF
导出
摘要 测试数据的生成是一个复杂的问题,且其技术和方法还不成熟。在生成最小测试用例集过程中,为了避免基本遗传算法对已经满足测试需求的测试用例重复进行遗传操作,文中在基本遗传算法的基础上,最大提高遗传算法的稳定性,提出最大稳定遗传算法(LSGA)。该算法能很好地保证种群的最大稳定性,提高搜索性能,最后对该算法从概率角度理论证明其优越性。实例分析表明,利用该算法能较快生成最小测试用例集,从而实现对测试目标的充分测试,提高测试效率,降低测试成本。 Test data generation is a complicated problem and its method and technique is not mature. In the process of the minimum test case generation,the Largest Steady Genetic Algorithm( LSGA) is proposed to improve the stability greatly,which is based on the basic genetic algorithm,in order to avoid repeat genetic manipulation of test case which has been met the testing requirement. This algorithm can guarantee the largest population stability and improve the search performance. Contrasted with the genetic algorithm,its superiority is proved from the perspective of the probability. Example analysis shows that using the proposed algorithm can rapidly generate minimum test case sets,achieving the target of the full test,improving the test efficiency and reducing test cost.
出处 《计算机技术与发展》 2016年第4期86-89,共4页 Computer Technology and Development
基金 国家自然科学基金专项基金项目(81141073) 安徽省科技计划项目(1301042203) 安徽省高校省级自然科学研究重点项目(KJ2015A241) 芜湖市科技计划项目(2012hm35-1)
关键词 测试用例集 测试用例 基本路径集 基本遗传算法 软件测试 test set test case basic path set simple genetic algorithm software testing
  • 相关文献

参考文献16

  • 1Jones B F, Sthamer H H, Eyres D E. Automatic structural testing using genetic algorithms [ J ]. Software Engineering Journal ,1996,11 (5) :299-306. 被引量:1
  • 2Hennadi I, Ahmed M A. Genetic algorithm based test data generator[ C]//Proc of 2003 congress on evolutionary computation. [ s. l. ] : [ s. n. ] ,2003:85-91. 被引量:1
  • 3Michael C C, McGraw G E, Schatz M A, et al. Genetic algorithms for dynamic test data generation [ C ]//Proc of 12th IEEE international conference on automated software engineering. [ s. l. ] :IEEE ,1997:307-308. 被引量:1
  • 4Jones B F, Eyres D E, Sthamer H H. A strategy for using genetic algorithms to automate branch and fault-based testing [J]. The Computer Journal,1998,41 (2) :98-107. 被引量:1
  • 5Wegener J, BareseI A, Sthamer H. Evolutionary test environment for automatic structural testing [ J ]. Information and Software Technology ,2001,43 (4) :841-854. 被引量:1
  • 6Eugenia D, Javier T, Raquel B. Automated software testing using a metaheuristic technique based on tabu search [ C ]// Proc of 18th IEEE international conference on automated software engineering. [ s. l. ] :IEEE,2003:310-313. 被引量:1
  • 7Johnson D S. Approximation algorithms for combinatorial problems[ J ]. Journal of Computer and System Sciences, 1974,9 (3) :256-278. 被引量:1
  • 8Harrold M J, Gupta R, Sofia M L. A methodology for controlling the size of a test suite[J].ACM Transactions on Software Engineering and Methodology, 1993,2 ( 3 ) :270-285. 被引量:1
  • 9Chen T Y, Lau M F. A new heuristic for test suite reduction [ J ]. Information and Software Technology, 1998,40 ( 5 - 6 ) : 347-354. 被引量:1
  • 10Chen T Y, Lau M F. Heuristics towards the optimization of the size of a test suite [ C ]//Proceedings of the 3rd international conference on software quality management. Seville, Espagne: [ s. n. ], 1995:415-424. 被引量:1

二级参考文献68

共引文献71

同被引文献25

引证文献3

二级引证文献4

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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