基本路径测试用例设计的改进方法  被引量:5

AN IMPROVEMENT METHOD OF BASIC PATH TEST CASE DESIGN

在线阅读下载全文

作  者:王敏[1] 马敏 张志 Wang Min;Ma Min;Zhang Zhi(College of Software Engineering,Hubei Radio and TV University,Wuhan 430074,Hubei,China)

机构地区:[1]湖北广播电视大学软件工程学院

出  处:《计算机应用与软件》2019年第10期17-22,86,共7页Computer Applications and Software

基  金:湖北省自然科学基金项目(2016CKC774);湖北省教育科学规划课题(2018GB218)

摘  要:基于路径字符串组合的基本路径集求解算法以简单的字符串处理实现了基本路径集的求解,但该算法没有考虑判断语句的条件拆分问题。提出采用决策表法解决基本路径集求解的条件拆分问题,在扫描被测程序时提取判断语句信息,将含多个条件的判断语句转化为一个决策表节点,生成含决策表节点的T基本路径集;根据提取的判断语句信息得到因果表达式,生成决策表,依据决策表生成规则路径集,按照一定规则将T基本路径集与规则路径集进行组合,则可生成满足条件覆盖的基本路径集。The basic path set solving algorithm is realized by path string combination,but the algorithm does not solve the problem of conditional statement splitting.The decision table method was proposed to solve the problem.We got the judgment statement information when scanning the tested program,and transformed a judgment statement with multiple conditions into a decision table node,then generated a T basic path set including decision table node.And we created cause-effect expression by using the judgment statement information and generated decision table,so regular path set could be created according to decision table.By combining the T basic path set with the regular path set according to certain rules,the basic path set satisfying the condition covering could be generated.

关 键 词:基本路径测试 规则路径 测试工具 智能机器人控制软件 

分 类 号:TP311.5[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象