期刊文献+

白盒测试中指定路径测试用例的自动生成 被引量:1

Automated Test Case of the Certern Path Generation in the White-box Testing
在线阅读 下载PDF
导出
摘要 单元测试阶段结构覆盖测试往往要求语句覆盖率和分支覆盖率均达到100%。然而对于含有复杂控制算法的程序,人工编写测试用例较为复杂,很难达到100%的覆盖率。利用迭代松弛法作为核心算法实现了结构覆盖测试用例的自动生成。文章首先简单介绍了迭代松弛法的思想及具体实施步骤,然后给出了系统的实现方法,最后对于该方法的扩展应用进行了展望。 In the unit test stage,it is often required that sentence coverage rate and branch coverage rate all up to 100% in the structure coverage test.But for the programs containing the complicated algorithm,it is comparatively complicated that write test case artificially,so it is very difficult to be up to coverage rate of 100%.This paper realizes the automatic generation of the test case in the structure coverage test,which takes use of the iterative relaxation method as key algorithm.At first,it simply introduces the concept and concrete procedure of the iterative relaxation method,and then provides the implementation method of the system;at last it gives a vista for the extension of the application of this method.
作者 周奇
出处 《舰船电子工程》 2005年第3期67-69,79,共4页 Ship Electronic Engineering
关键词 软件测试 结构覆盖测试 迭代松弛法 非线性约束 测试用例 software testing, structure coverage test, iterative relaxation method, nonlinear constraint, test case
  • 相关文献

参考文献3

  • 1[1]Gupta N, Mathur A P, Soffa M L. Automated Test Data Generation Using an Iterative Relaxation Method [ A ].Proc of the ACM SIGSOFT 6th Int' 1 Symp on the Foundations of Software Engineering[ C]. Lake Buena Viata, Florida,1998: 231 ~224
  • 2[2]Gupta N,Mathur A P, Soffa M L. UNA Based lnterative Test Data Generation and Its Evaluation [A]. Proc of the 14th IEEE Int' 1 Conf on Automated software Engineering [C]. Cocoa Beach,Florida, 1999:224~232
  • 3万琳,肖庆,宫云战.结构测试中的可达路径选择方法[J].计算机工程,2003,29(2):42-43. 被引量:1

二级参考文献3

  • 1[1]Forgacs I, Bertolino A. Feasible Test Path Selection by Principal Slicing.ACM SIGSOFT Software Eng. Notes, 1996:378-394
  • 2[2]Bodik R, Gupta R, Soffa M L.Refining Data Flow Information Using Infeasible Paths. ACM SIGSOFT Software Eng. Notes, 1997:361-377
  • 3[3]Yates D F, Malevris N.Reducing the Effects of Infeasible Paths in Branch Testing.ACM SIGSOFT Software Engineering Notes,1989,14(8):48-54

同被引文献2

引证文献1

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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