期刊文献+

基于关键用例获取的测试用例排序方法 被引量:2

Test Case Sorting Method Based on Key Use Cases Extracted
下载PDF
导出
摘要 测试用例排序技术通过在测试过程中确定用例执行的先后次序来增加早期揭示缺陷的可能性.本文在用例排序过程中动态提取关键用例,在测试用例运行被测程序后,得到各候选用例(待排序用例)覆盖程序新分支情况以及改善用例覆盖程序分支的均衡程度,进而计算候选用例的权重使得关键用例的权重增加,优先进行排序.实验结果表明,与现有方法比较,所提方法在用例排序时间与缺陷检测方面体现出较好的性能. Test case sorting increases the possibility of early discovery of defects by determining the execution order of test cases in the testing process.In the paper,the key test cases are dynamically extracted during the test case sorting pro⁃cess.After test cases running the program under test,the candidate test cases(test cases to be sorted)covering the new branches of the program and improving the balance of test case covering program branches are obtained,and then the weight of the candidate test cases are calculated so that the weight of key test cases is increased,and prioritize them.Com⁃paring with existing methods,experimental results show that the proposed method shows better performance in the time con⁃sumed and fault detection of test case sorting.
作者 范书平 万里 姚念民 张岩 马宝英 FAN Shu-ping;WAN Li;YAO Nian-min;ZHANG Yan;MA Bao-ying(School of Computer and Information Technology,Mudanjiang Normal University,Mudanjiang,Heilongjiang 157012,China;Department of Intelligence and Computing,Tianjin University,Tianjin 300350,China;School of Computer Science and Technology,Dalian University of Technology,Dalian,Liaoning 116024,China;School of Information Engineering,Suqian University,Suqian,Jiangshu 223800,China;School of Health Management,Mudanjiang Medical University,Mudanjiang,Heilongjiang 157011,China)
出处 《电子学报》 EI CAS CSCD 北大核心 2022年第1期149-156,共8页 Acta Electronica Sinica
基金 国家自然科学基金(No.2018AAA0100300) 黑龙江省自然科学基金(No.LH2021F055) 牡丹江市应用技术研究与开发计划(No.HT2020JG049) 大连市科技创新项目(No.2018J12GX045)。
关键词 回归测试 测试用例排序 用例偏离度 缺陷检测 分支覆盖 regression testing test case sorting use case deviation fault detection branches coverage
  • 相关文献

参考文献10

二级参考文献50

  • 1李碧,林土胜.基于竞争协同进化的改进遗传算法[J].深圳大学学报(理工版),2009,26(1):24-29. 被引量:4
  • 2肖自乾,王弗雄,陈经优.基本路径测试方法之圈复杂度计算[J].软件导刊,2010,9(1):10-12. 被引量:8
  • 3夏辉,宋昕,王理.基于Z路径覆盖的测试用例自动生成技术研究[J].现代电子技术,2006,29(6):92-94. 被引量:11
  • 4李兵,王浩,李增扬,何克清,余敦辉.基于复杂网络的软件复杂性度量研究[J].电子学报,2006,34(B12):2371-2375. 被引量:38
  • 5Li Z, Harman M, Hierons R M. Search algorithms for regression test case prioritization EJ]. IEEE Transactions on Software En- gineering,2007,33 (4) :225-237.
  • 6Zhang L, Hou S S, Guo C. Time-aware test-case prioritization using integer linear programming[C]//Proceedings of the Eigh- teenth International Symposium on Software Testing and Ana- lysis. ACM, 2009 : 213-224.
  • 7Durillo J J, Zhang Y, Alba E, et al. A study of the hi-objective next release problem [J]. Empirical Software Engineering, 2011,16(1):29-60.
  • 8Srinivas M, Patnaik L M. Genetic algorithms: A survey [J]. Computer, 1994,27(6) : 17-26.
  • 9AlRashidi M R,EI Hawary M E. A survey of particle swarm op- timization applications in electric power systems [J]. IEEE Transactions on Evolutionary Computation, 2009, 13 (4):913- 918.
  • 10Suman B, Kumar P. A survey of simulated annealing as a toolfor single and multi-objective optimization [J~. Journal of the Operational Research Society, 2006,57(10) : 1143-1160.

共引文献64

同被引文献29

引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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