摘要
在软件测试中,测试用例的生成是关键。我们通过特定的模板[1]来得到程序流程图的信息,用一系列的规则把流程图[2]转换成二叉树表示的形式,然后遍历二叉树的各个分支,对每个分支都生成测试用例。从而达到白盒测试中具有较高故障覆盖率的路径覆盖。
The generation of test case is the most important in software testing. Here, we first get the information of the program flow graph through the special template we defined, then when the program flow graph is converted to the format of bin-tree, we go through all the possible paths of that bin-tree,and then generate test case for each path. In this paper,how to convert the flow chart to the bin-tree is the main point.
出处
《计算机应用与软件》
CSCD
北大核心
2006年第10期45-46,共2页
Computer Applications and Software