首页 | 官方网站   微博 | 高级检索  
     

基本路径测试算法的改进与应用
引用本文:钱丽,万家华,陈秀明,周园园.基本路径测试算法的改进与应用[J].长春理工大学学报,2016(1):107-111.
作者姓名:钱丽  万家华  陈秀明  周园园
作者单位:安徽新华学院,合肥,230088;安徽新华学院,合肥,230088;安徽新华学院,合肥,230088;安徽新华学院,合肥,230088
基金项目:安徽省教育厅自然科学基金重点项目(KJ2014A100,KJ2015A300)
摘    要:基本路径测试是白盒测试技术的一种重要方法,McCabe方法作为基本路径测试中较为常用的方法之一,存在测试用例设计效率较低、可操作性不强等问题。针对这些问题,研究提出了基于McCabe方法的改进堆栈算法,该算法能够自动识别被测程序的基本图元结构,算出被测程序的基本路径数,并且输出基本路径集。该路径算法比McCabe方法构造过程简洁,可操作性较强,能够有效提高基本路径测试用例设计的效率。

关 键 词:基本路径测试  白盒测试  McCabe方法  堆栈算法

The Application of Improved Algorithm in Basis Path Test
QIAN Li,WAN Jiahua,CHEN Xiuming,ZHOU Yuanyuan.The Application of Improved Algorithm in Basis Path Test[J].Journal of Changchun University of Science and Technology,2016(1):107-111.
Authors:QIAN Li  WAN Jiahua  CHEN Xiuming  ZHOU Yuanyuan
Abstract:McCabe’s basic path testing is an important testing method in dynamic white-box testing techniques, but it exists the problem that the efficiency of McCabe method is lower and the operability is weak. To solve this problem, this paper proposed an algorithm to design basic path test base on McCabe method.Firstly,the algorithm creats a basic unit chart based on the path coverage.Secondly, the program path number can be recognized automaticaly by the algo-rithm, and then the basic path collection can be output. The improved algorithm is better than McCabe method, be-cause its construction process is simple and operability is strong, it can improve the efficiency of the basic path test case design.
Keywords:basis path test  white-box test  McCabe method  stack algorithm
本文献已被 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号