[1]高青娟 陈立潮 张英俊 潘理虎 谢斌红.一种关键字驱动的Java API自动测试框架[J].计算机技术与发展,2011,(08):42-45.
 GAO Qing-juan,CHEN Li-chao,ZHANG Ying-jun,et al.A Keyword-Driven Automated Testing Framework for Java API[J].,2011,(08):42-45.
点击复制

一种关键字驱动的Java API自动测试框架()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
期数:
2011年08期
页码:
42-45
栏目:
智能、算法、系统工程
出版日期:
1900-01-01

文章信息/Info

Title:
A Keyword-Driven Automated Testing Framework for Java API
文章编号:
1673-629X(2011)08-0042-04
作者:
高青娟 陈立潮 张英俊 潘理虎 谢斌红
太原科技大学计算机科学与技术学院
Author(s):
GAO Qing-juanCHEN Li-chaoZHANG Ying-junPAN Li-huXIE Bin-hong
School of Computer Science and Technology,Taiyuan University of Science and Technology
关键词:
关键字驱动API测试测试自动化Java测试框架
Keywords:
keyword-driven API test test automation Java testing framework
分类号:
TP391
文献标志码:
A
摘要:
传统的对应用程序编程接口的测试需要编写测试驱动程序驱动被测API,然后编译驱动程序,接着执行驱动程序,最后要对测试运行结果做分析。过程繁琐而且对测试人员的编码能力要求较高。文中利用关键字驱动的思想,将测试脚本中变化的逻辑和数据部分从测试脚本中分离出来,放到单独的测试数据表格中。实现了一种对Java的应用程序编程接口进行自动测试的框架JAPITest。该框架实现了API的自动提取、关键字的自动生成、测试用例管理和执行环节的自动化,具有测试脚本的可重用性高、测试逻辑清晰、测试用例维护方便等特点
Abstract:
The traditional API testing need to write code to drive measured API,compile the driver program,then execute the driver,the last is to do analysis on the test results.The process is trivial and tester requires higher code ability.In order to solve the problem,this paper proposes an automatic test framework(JAPITest).Based on the keyword-driven automation theory,the framework separate test logic and data from test scripts.An example illustrated superiorities of the framework.The framework reduced the scale of test scripts.The test logic is clearer,and the test cases maintenance is more convenient.Key words: keyword-driven;API test;test automation;Java testing;framework

相似文献/References:

[1]钱月琴.关键字驱动框架中关键字划分方法研究[J].计算机技术与发展,2010,(09):44.
 QIAN Yue-qin.Research of Keywords Decomposing Method in Keyword-Driven Framework[J].,2010,(08):44.
[2]黄威 聂藩 丁建完.关键字驱动的测试自动化框架模型与系统实现[J].计算机技术与发展,2012,(04):57.
 HUANG Wei,NIE Fan,DING Jian-wan.A Model of Test Automation Framework Based on Keyword-Driven and Its System Implementation[J].,2012,(08):57.

备注/Memo

备注/Memo:
山西省自然科学基金资助项目(2009011022-1)高青娟(1980-),女,硕士研究生,主要研究方向为智能软件、软件测试技术;陈立潮,博士,教授,硕士生导师,CCF高级会员,主要研究方向为智能软件、人工智能
更新日期/Last Update: 1900-01-01