期刊文献+

最优化分支覆盖测试路径集研究与应用

Application of Optimization Methods and Test Path Set for Branch Coverage Testing
下载PDF
导出
摘要 基于DD图理论能够获取覆盖整个路径的分支测试路径集合,但缺少精简无约束边集合的方法,分支测试用例选取复杂,工程应用更少。在DD图提炼无约束边集合的基础上,对程序路径树进行研究,提出通过循环计算路径树未被选中路径中包含的未被覆盖无约束边的个数,实现最优化分支覆盖测试路径集选择方法,满足基于DO-178B和GJB/Z 141军用软件语句、分支和MC/DC测试覆盖指标要求。实际工程应用结果表明,该方法实现了优化测试用例,满足了测试充分性要求。 Despite the fact that theories based on DD-graph could acquire a set of branch testing path that cover the whole path, it lacks the method in simplifying the extracted free edges set, and the choice of test cases could be completed, hence fewer application in engineering. This paper researches on program path tree on the basis of the extracted free edges set from DD graph, optimizing the test path set for branch coverage testing through computing the number of unused free edges from the unchosen path in path tree repeatedly up to the standard of military software statement, branch and MC/DC coverage testing basing on DO-178B and GJB/Z 141,thus meeting the requirement of test sufficiency with an adequate set of optimized test cases. Moreover, the results of practical applications in engineering prove the feasibility of this method.
作者 石磊 翁鹤 SHI Lei WENG He(Luoyang Optoelectronic Technology Development Center, Luoyang 471099,China)
出处 《软件导刊》 2017年第10期154-158,共5页 Software Guide
关键词 DD图 无约束边 路径树 分支覆盖测试 DD graph free edges path tree branch coverage testing
  • 相关文献

参考文献4

二级参考文献24

  • 1毛澄映,卢炎生.分支测试中测试路径用例的简化生成方法[J].计算机研究与发展,2006,43(2):321-328. 被引量:17
  • 2陈继锋,朱利,沈钧毅,王志海.一种基于分支覆盖的测试数据自动生成算法[J].计算机科学,2006,33(12):261-264. 被引量:2
  • 3朱鸿 金凌紫.软件测试和质量保障技术[M].科学出版社,1997..
  • 4张海藩.软件工程导论[M].北京:清华大学出版社,2000..
  • 5Renieris M, Reiss S P. Fault Localization with Nearest Neighbor Queries//Proceedings of the 18th International Conference on Automated Software Engineering ( ASE2003 ). Montreal, Canada, October 2003: 30-39
  • 6Denise A,Gaudel M C,Gouraud S D. A Genetic Method for Statistical Testing[C]//the Proceedings of 15^th International Sym posium on Software Reliability Engineering(ISSRE2004). Saint Malo,Bretagen,France,November 2004:25 -34
  • 7Weiser M. Program Slicing: Formal, Psychological and Practical Investigation of an Automatic Program Abstraction Method. Ph.D. Thesis. Univserisity of Michigan, Ann Arbor, Michigan, 1979
  • 8Agrawal H, Horgan J R, London S, et al. Fault Localization using Execution Slices and Dataflow Test//the Proceedings of the 6th International Symposium on Software Reliability Engineering. Toulouse, France,October 1995 : 143-151
  • 9Agrawal H, Horgan J R. Dynamic Program Slicing. In the Proceedings of the ACM SIGPLAN 1990 Conference on Programing Language Design and Implementation. White Plains, New York, SIGPLAN Notices,1990,25(6):246-256
  • 10Lyle J R,Weiser M. Automatic Program Bug Location by Program Slicing// the Proceedings of the 2nd International Conference on Computers and Applications. June 1987:877-882

共引文献7

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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