首页> 中文期刊> 《火力与指挥控制》 >一种轻量级软件自动化测试框架

一种轻量级软件自动化测试框架

         

摘要

针对自动化测试脚本和测试数据文件数据量多的问题,利用测试工具QTP、数据与关键字驱动的测试机制,设计了基于三层驱动机制的自动化测试框架、管理测试用例文件的测试集(TestSet),以及存储测试用例的test-case数据对象和存储测试数据的testdata数据对象;利用对测试粒度的控制和测试数据池技术应用,设计了可重构和优化的测试脚本。达到了测试设计和脚本开发解耦,测试用例和数据的展现更加人性化,测试脚本及业务层面的测试数据的优化、可重用,使脚本文件和测试数据文件的数量达到最少,减少占用空间。%To resolve the problem of a large amount of automatic test scripts and test data files, through the test tool QTP,data-driven and keyword-driven testing mechanism,a test automation framework based on three layer data-driven mechanism is designed,including the design of the TestSet managing test case files,the design of the testcase storing test cases and the design of the testdata storing test data; through controlling the test scale and applying the test data pool,reconfigurable and optimization of test scripts are designed.The methods above can decouple the test design and the script development,make test cases and data show a more humane design,and test scripts and test data on the business level optimized and reusable,the number of script files and the test data files reache a minimum,reduce the occupied space.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号