作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2007, Vol. 33 ›› Issue (04): 270-271. doi: 10.3969/j.issn.1000-3428.2007.04.095

• 开发研究与设计技术 • 上一篇    下一篇

一种API自动化测试工具的设计与实现

崔红军1,2,饶若楠1,邵培南2   

  1. (1. 上海交通大学计算机科学与工程系,上海 200030;2. 华东计算技术研究所,上海 200233)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-02-20 发布日期:2007-02-20

Design and Implementation of An Automated API Test Tool

CUI Hongjun1,2, RAO Ruonan1, SHAO Peinan2   

  1. (1. Dept. of Computer Science and Engineering, Shanghai Jiaotong University, Shanghai 200030; 2. East China Research Institute of Computing Technology, Shanghai 200233)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-02-20 Published:2007-02-20

摘要: 给出一种API自动化测试工具的设计和实现方案,实现了被测API信息的自动提取、API测试数据和测试用例辅助生成以及测试执行过程驱动与监控的自动化。介绍了使用该工具对一个实际的被测程序进行测试的过程和结果。

关键词: 软件测试自动化, API测试, 软件测试驱动, 软件测试用例生成

Abstract: This paper intends to explore the ways to realize the automatic test tool for retrieving the tested API, generating the test data based on API together with the test case generated and the driving of the execution of test and monitor automatically. In the end, the results and procedures for testing an exact program with the tool are presented.

Key words: Automatization of software test, API test, Driving of software test, Generation of software test case