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

计算机工程 ›› 2010, Vol. 36 ›› Issue (06): 94-96. doi: 10.3969/j.issn.1000-3428.2010.06.031

• 软件技术与数据库 • 上一篇    下一篇

基于脚本的构件测试自动化框架

倪 铭,黄 萍   

  1. (武汉数字工程研究所,武汉 430074)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2010-03-20 发布日期:2010-03-20

Script-based Component Test Automation Framework

NI Ming, HUANG Ping   

  1. (Wuhan Digital Engineering Institute, Wuhan 430074)
  • Received:1900-01-01 Revised:1900-01-01 Online:2010-03-20 Published:2010-03-20

摘要: 针对传统的测试自动化技术已不适用于构件的问题,提出基于脚本的构件测试自动化框架。将面向对象单元测试自动化框架xUnit与数据驱动的测试框架结合并改进,实现构件测试脚本自动生成、测试脚本自动执行、测试结果自动验证与记录。实例表明,该框架能有效对构件进行自动化测试,自动化程度较高。

关键词: 构件测试, 测试自动化, 测试脚本, 测试驱动

Abstract: Aiming at the problem that conventional test automation techniques are not suitable for component, this paper presents a script-based component test automation framework. By combining and improving object-oriented unit test automation framework xUnit and data-driven test framework, it can achieve component test script automated generation, script automated execution, results automated verification and logging. A case indicates that the framework is effective and of relatively high degree of automation.

Key words: component test, test automation, test script, test driver

中图分类号: