首页> 中文期刊>火力与指挥控制 >基于脚本的通用自动测试系统设计与实现

基于脚本的通用自动测试系统设计与实现

     

摘要

针对自动测试系统(ATS)通用性差,架构设计不够开放、灵活,提出了一种基于测试脚本的通用自动测试方法.分析了ATS所共有的测试功能需求,构建较为完备的关键字驱动体系及其词法、语法结构规则;实现对关键字脚本词法、语法解析及脚本功能函数编写;通过搭建基于PCI总线的通用ATS平台,在测试系统硬件环境基本不变的情况下,依据不同测试需求编写相应的测试脚本来解析执行,有效完成了各种测试任务.实验表明设计的基于脚本的ATS平台方案具有较好的通用性、灵活性和可行性.%This paper proposes a general automatic test method based on test script aiming at the problems such as poor versatility,inflexible architecture design.Firstly,it analyzes the test requirements common to ATS and constructes a more complete keywords-driven system and its lexical and syntax structure,and then achieves the keywords-script lexical,syntax parsing and script function writing. In the end,the general ATS platform based on PCI bus is built to complete various test tasks according to parsing and executing different test scripts under the basically unchanged hardware environment. Experiments show that the design of the script-based ATS platform has good versatility,flexibility and feasibility.

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号