首页 | 本学科首页   官方微博 | 高级检索  
     检索      

白盒测试中指定路径测试用例的自动生成
引用本文:周奇.白盒测试中指定路径测试用例的自动生成[J].舰船电子工程,2005,25(3):67-69,79.
作者姓名:周奇
作者单位:武汉数字工程研究所,武汉,430074
摘    要:单元测试阶段结构覆盖测试往往要求语句覆盖率和分支覆盖率均达到100%。然而对于含有复杂控制算法的程序,人工编写测试用例较为复杂,很难达到100%。的覆盖率。利用迭代松弛法作为核心算法实现了结构覆盖测试用例的自动生成。文章首先简单介绍了迭代松弛法的思想及具体实施步骤,然后给出了系统的实现方法,最后对于该方法的扩展应用进行了展望。

关 键 词:软件测试  结构覆盖测试  迭代松弛法  非线性约束  测试用例

Automated Test Case of the Certern Path Generation in the White - box Testing
Zhou Qi.Automated Test Case of the Certern Path Generation in the White - box Testing[J].Ship Electronic Engineering,2005,25(3):67-69,79.
Authors:Zhou Qi
Abstract: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.
Keywords:software testing  structure coverage test  iterative relaxation method  nonlinear constraint  test case
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号