摘要
在研究应用编程接口(API)测试特点的基础上,运用软件测试技术与方法对API进行了正确性测试,设计了API自动化测试框架,采用XML语言进行API自动化测试工具的设计和实现方案。使用该工具可在API信息提取、测试用例生成及测试用例执行、测试报告生成等方面实现自动化。该工具主要用于验证第三方提供的API,由于单元测试中较多地使用了API测试,因此也可运用于软件的单元测试。
Based on the research of API test, this paper uses software test technology to do API validity test, and designs the frame of automatic API test. It also gives the design and implementation scheme of automatic API test tool by using XML language and automation of API information pick-up, test case generation and test case implementation comes true with it. This tool is mainly used to-verify the functions of third-party APIs and is adapted to software unit tests because of frequent use of API test in unit tests.
出处
《计算机工程》
CAS
CSCD
北大核心
2007年第13期96-98,共3页
Computer Engineering
关键词
应用编程接口测试
软件测试驱动
软件测试自动化
application program interface (API) test
drive of software test
automatization of software test