Author Login Editor-in-Chief Peer Review Editor Work Office Work

Computer Engineering ›› 2008, Vol. 34 ›› Issue (3): 83-84,8. doi: 10.3969/j.issn.1000-3428.2008.03.029

• Software Technology and Database • Previous Articles     Next Articles

Test Case Generation Method Based on Reusable Function Component

PAN Li-li1, ZOU Bei-ji2, CHEN Hao-wen1, LU Xin-guo1   

  1. (1. College of Computer and Communication, Hunan University, Changsha 410082; 2. School of Information Science and Engineering, Central South University, Changsha 410083)
  • Received:1900-01-01 Revised:1900-01-01 Online:2008-02-05 Published:2008-02-05

基于可复用功能组件的测试用例生成方法

潘丽丽1,邹北骥2,陈浩文1,卢新国1   

  1. (1. 湖南大学计算机与通信学院,长沙 410082;2. 中南大学信息科学与工程学院,长沙 410083)

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

摘要: 针对交互式软件的频繁交互、状态复杂等特点,基于功能测试和层次型结构,从需求规范中提取基于操作流程的功能组件,通过映射、重组测试脚本,导入测试数据,并自动生成测试用例。功能组件的构建具有层次型结构的特点,即一个功能组件可以包含一个或多个功能组件,更大程度地共享了测试脚本。

关键词: 功能测试, 交互式软件, 测试用例, 功能组件

CLC Number: