摘要: 针对交互式软件的频繁交互、状态复杂等特点,基于功能测试和层次型结构,从需求规范中提取基于操作流程的功能组件,通过映射、重组测试脚本,导入测试数据,并自动生成测试用例。功能组件的构建具有层次型结构的特点,即一个功能组件可以包含一个或多个功能组件,更大程度地共享了测试脚本。
关键词:
功能测试,
交互式软件,
测试用例,
功能组件
Abstract: This paper proposes a new method to generate test cases automatically. The method is based on function test and hierarchical framework. It extracts function component based on operation flow from requirement specification, maps and recomposes test scripts, generates test case with input data. The construct of function components adopts hierarchy structure, i.e. one function components may contain one or more components. Test-case generation can share the script in the more extent.
Key words:
function test,
interactive software,
test case,
function component
中图分类号:
潘丽丽;邹北骥;陈浩文;卢新国. 基于可复用功能组件的测试用例生成方法[J]. 计算机工程, 2008, 34(3): 83-84,8.
PAN Li-li; ZOU Bei-ji; CHEN Hao-wen; LU Xin-guo. Test Case Generation Method Based on Reusable Function Component[J]. Computer Engineering, 2008, 34(3): 83-84,8.