摘要
为了提高软件自动化测试脚本的可复用性,本文提出了一种基于关键字驱动的自动化测试框架。框架以关键字驱动思想为核心,在设计自动化测试平台的过程中实现了测试逻辑、测试脚本和测试数据的分离,仅通过对控制文件的修改就可以实现相应测试,同时,测试脚本不关心测试用例,测试的数据和业务逻辑都集成在测试数据表格之中,测试的设计就简化为测试数据表格的设计,最大程度地减少了相互之间的影响。进一步把测试工程师从繁琐的重复性劳动中解放出来,为软件产品提供更为高效的、精准的测试,提高产品的竞争力。
In order to improve software reusability of automated test scripts,this paper brings up test automation framework based on keyword-driven.This framework whose core is the thought of keyword-driven realizes the departure of test logic,can realize testing through the revising of controlling files.Meanwhile,testing scripts don't have to concern testing examples,testing data and operation logic are stored in testing data table,and thus the design of testing can be simplified to be the design of testing data table,maximum reducing the impact of each other.Further frees the test engineers from the tedious repetitive work,providing software products more efficient,more accurate testing and thus increasing competitiveness.
出处
《电子测试》
2010年第8期87-93,共7页
Electronic Test
关键词
驱动
自动化测试
测试框架
Keyword-driven
automated test
test framework