期刊文献+

一种基于遗传算法的测试用例优先排序方法 被引量:11

Test Case Prioritization Method Based on Genetic Algorithm
下载PDF
导出
摘要 通过测试用例优先排序技术对软件测试用例的执行次序进行优化,能够有效地提高软件测试效率,是软件测试理论研究的一个热点课题.设计了一种新的针对测试点覆盖的测试用例优先排序技术评价指标APTC,可以更好地适用于功能测试或黑盒测试;以APTC及其改进指标APTC_C为基础,提出一种基于遗传算法的智能化测试用例优先排序方法,针对测试点覆盖分别设计了其编码策略、适应度函数、选择算子、交叉算子和变异算子;给出了具体的算法步骤并使用试验数据进行了方法验证,结果表明,该方法可提高软件测试效率和自动化水平,能够取得较好的应用效果. With the ability to improve the efficiency of softw are testing,test case prioritization is becoming a hot topic in softw are testing research. Using of genetic algorithm,obtained some meaningful results in test case prioritization based on test-points coverage,especially for the functional testing. Firstly,presented tw o new test case prioritization evaluations APTC and its improvement APRC_C.The evaluations focus on test-points coverage and so are more suitable for black-box testing. Then,proposed a test case prioritization method based on genetic algorithm. Representation,selection,crossover and mutation of the method are designed for black-box testing.Finally,verified the proposed method by experiments data. The experimental results show that the proposed method is quite effective.
出处 《小型微型计算机系统》 CSCD 北大核心 2015年第9期1998-2002,共5页 Journal of Chinese Computer Systems
关键词 软件测试 测试用例优先排序 遗传算法 评价指标 黑盒测试 softw are testing test case prioritization genetic algorithm evaluation function black-box testing
  • 相关文献

参考文献2

二级参考文献15

  • 1Harrnan M,Mcminn P,Wegener J.The impact of input domain reduction on search based test data generation[J].ACM,2007: 155- 156.
  • 2Taillam S,Gupta N.A concept analysis inspired greedy algorithm for test suite minimization[J].ACM,2005 : 132-135.
  • 3Harrold M J,Gupta R,Soffa M L.A methodology for controlling the size of a test suite[J].ACM Trans Softw Eng Methodol,1993,2(3): 270-285.
  • 4Jones J A,Harrold M J.Test-suite reduction and prioritization for modified condition/decision coverage[J].IEEE Trans Software Eng,2003,29(3):195-209.
  • 5Bueno P M S,Wong W E,Jino M.Improving random test sets using the diversity oriented test data generation[C]//Proceeding of the Second Internation Workshop on Random Testing, 2007 :10-12.
  • 6Bryce R C,Colbourn C J.Constructing interaction test suites with greedy algorithms[J].ACM, 2005.
  • 7Bryce R C,Colboum C J.One test at a time heuristic search for interaction test suites[J].ACM,2007:1082-1084.
  • 8Uyar H T,Uyar A S,Harrnanci E.Pairwise sequence comparison for fitness evaluation in evolutionary structural software testing[J]. ACM,2006: 1959-1962.
  • 9Zheng Li,Harman M,Hierons R M.Search algorithm for regression test case prioritization[J].IEEE Transactions on Software Engineering, 2007 : 225-225.
  • 10Bryce R C,Memon A M.Test suit prioritization by interaction coverage[J].ACM, 2007 : 1-7.

共引文献52

同被引文献63

引证文献11

二级引证文献37

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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