自动化测试系统设计论文
电力系统智能装置自动化测试系统的设计分析

1 电力系统智能装置自动化测试 系统的组成与基
本 原理
一
的 自动 测试 系统包 括 了以下 几 个 重要 的 功能 :
①模生保护功能 。 ③适用于检测保护装置外部节点的开 出检测模块。
套完整的电力系统智能装置 的检测 系统 ,依据 自
伴随我 国 自动化技术 的不断进 步 ,电力系统的 自动 化水平也得到极大 的提高 ,许多嵌入式智能装置得到 了 大面积的推广 和应用。一个完整的 电力系统智能装置 的 检测系统依据检测系统的原理 , 可以划分 为 : 保护装置 的 开入模块 、 控制计算机模块 、 保护装置的触点检测模块 和 微机继 电保护测试仪 。文章 主要研究测试技术的相关理 论, 分析 当前智能装置检测 出的结果 , 并探讨新 的智能装
智能装置还集成 了时钟同步等检测功能 ,使 电力系统智 测试系统 , 根据分布式计算机 系统的功能 , 可以实现智 能 能装 置 能更 好 的完 成 检测 任 务 ,对 复 杂 的检 测 现 场环 境 装置的模拟仿真 , 解释不同的测试脚本( 控 制分布式计算 做 出相 应应 对 。
机) ,令分布式计算机完成测试任务与收集相关信息 , 并 电力 系统智能装置应用集成系统 ,可以在较小 的硬 根据所收集来的信息 , 对测试结果进行判断 , 最终实现 自 件体积 中完成信息记 录功能 , 并且 由其丰富的扩转资源 , 动 化 测试 的功 能 。 与其他硬件设备具有 良好 的交互性 。电力系统智能装置
置 测试 方 案 。 文 章 设计 并 研发 T e s t C e n t e r , 它是 一 种 自动
全 ,继 电保护装置则是主要扶着 电力系统 中开关量 的控 制 以及电器量的测量 ,电力系统智能装 置协调这两部分 功能 , 最终达到完成规定任务 。 智能化的电力系统在与外部设备连接时 ,会产生设 备 的模拟量 , 继电器保护出口以及信号的开入。 电力系统 智能装置应用于现场运行环境 中叶相应 的包括 了模拟量 输 出、 开 关量 输 入 和开 出触 点 的检 测 功 能 , 并 且 电力 系统
Andriod_IVI_系统稳定性测试方案研究与自动化测试工具设计及实现

第21期2023年11月无线互联科技Wireless Internet Science and TechnologyNo.21November,2023作者简介:刘萌(1989 ),女,江苏徐州人,工程师,硕士;研究方向:自动化测试㊂Andriod IVI 系统稳定性测试方案研究与自动化测试工具设计及实现刘㊀萌(南京特殊教育师范学院,江苏南京210038)摘要:基于Andriod 的车载信息娱乐系统(In -Vehicle Infotainment ,IVI )功能日益复杂,产品安全性和稳定性问题也随之增多㊂为提高产品开发及测试环节工作效率,保障产品安全性和稳定性,文章对Andriod 的IVI 娱乐系统稳定性测试方案进行了深入研究,并基于Python 语言及Monkey ㊁UIAutomator2工具设计实现了两种自动化稳定性测试工具㊂自动化测试是软件测试未来的发展方向,这些自动化工具在项目实战中切实体现出人工测试无法取代的效果㊂关键词:稳定性测试;Python ;Monkey ;UIAutomator2中图分类号:TP311㊀㊀文献标志码:A0㊀引言㊀㊀随着互联网技术的飞速发展,Andriod 系统在市场终端应用中呈现迅速扩张的趋势,如今的车载娱乐终端也大多基于Android 操作系统,人机交互界面更美观,功能也日益复杂,这也导致了系统安全性和稳定性问题日益增多,在产品开发生命周期中不得不投入更多的时间和人力资源到测试环节中㊂车载娱乐终端产品一旦产生稳定性问题,不仅后期维护和纠正成本极高,还会给驾驶人员带来潜在的安全威胁㊂为解决上述问题,本文对Monkey 及UIAutomator2两种Andriod 自动化测试工具进行了研究,制定了随机和定制功能路径两种场景的自动化稳定性测试方案,并设计实现了基于Python 二次开发的Monkey 随机场景自动化测试工具和基于Python +Pytest +UIAutomator2的定制功能路径场景自动化测试工具㊂1㊀基于Monkey 的自动化随机测试㊀㊀Monkey 是Android 系统自带的一款基于命令行的自动化测试工具,主要用于测试Android 应用程序及系统的稳定性和鲁棒性㊂Monkey 通过向系统发送随机事件流来模拟用户操作㊂Monkey 简单易用,对于发现应用程序和系统的应用程序无响应(Application Not Response,ANR)㊁Crash 等异常具有显著的效果㊂1.1㊀Monkey 测试方案及工具框架设计1.1.1㊀运行方式设计㊀㊀Monkey 测试的运行可以分为离线和在线两种运行模式㊂在离线模式下,需要将Monkey 命令参数编写成shell 脚本推送到被测设备上,本地执行㊂这种模式对测试人员编程能力有一定要求,一旦测试步骤或参数需要更改,shell 脚本就需要修改,而且在测试过程中,脚本无法实时识别到异常,不会去实时捕获日志,只能在测试结束后人工分析Monkey 测试日志,找出问题及时间点,再去查找对应时间点的日志㊂如果问题出现的时间点较早,很可能日志已被覆盖掉,导致无法分析问题,像bugreport㊁dumpsys 等实时性要求极高的日志,在测试结束后再抓取基本已经失去时效㊂另外,离线模式下Monkey 测试本身产生的日志只能本地化存储,占据被测系统的存储空间,从而影响被测系统性能,干扰测试结果㊂在线测试模式在测试过程中需要保持PC 与被测设备的Android 调试桥(Android Debug Bridge,ADB)连通,Python 程序运行于PC 上,脚本实时翻译实时下发㊂本文设计的Monkey 测试工具采用在线运行方式㊂Monkey 命令通过Python 程序下发,所有Monkey 日志重定向到本地PC,避免占用被测设备的存储空间㊂在测试过程中,Python 程序还会另起线程实时读取并分析Monkey 日志,一旦识别到异常就立即抓取系统全日志㊂这种方法一方面节省了人工分析问题的时间,一方面确保了日志的实时性和完整性㊂1.1.2㊀测试模式设计㊀㊀Monke 测试工具提供了3种测试模式:单包㊁多包组合和系统级测试模式㊂单包模式只对一个应用程序进行测试,通常应用于产品开发前期㊁应用程序逐个上线的阶段㊂不同的功能模块用户的操作习惯不同㊂因此,该模式需要根据实际操作场景设置不同的事件百分比㊂多包组合模式同时针对多个应用进行并行测试,通常会选取用户使用频率最高的几个应用随机组合,测试过程必需涉及应用间的切换㊂系统级测试模式不限定被测应用范围,对所有应用程序和系统组件进行并行测试,实现全功能联动㊂该模式主要应用于产品开发后期阶段的验收㊂1.1.3㊀测试参数设计㊀㊀Monkey 测试参数主要分为3类:基本配置参数㊁事件类型参数和调试参数㊂本方案中Monkey 测试的目的有两种:项目早期阶段的问题发现测试(测试过程中忽略异常继续执行,以尽可能发现更多问题)和项目后期阶段的验收测试(测试过程中不忽略异常,出现异常即停止执行,并将验收结果判定为不通过)㊂不同测试阶段参数制定如下㊂(1)基本配置参数设计㊂级别(-v)设为最高-v -v -v,以输出尽可能详细的日志㊂随机种子值(-s)默认为0,每轮测试更换一个随机值,代表从不同的起点开始新一轮的测试㊂动作时间间隔(--throttle)在产品初期阶段设为1s,后期平台功能稳定后设定为300ms㊂在-p 参数后指定测试包可以实现上述3种测试模式㊂每轮测试的操作次数Count 参数由计划测试时长决定,计算公式为:Count =测试时长(ms)/--throttle㊂(2)事件类型参数设计㊂操作事件类型的百分比值根据不同被测模块的功能区别设定,百分比总和不超过100%㊂(3)调试参数设计㊂在问题发现测试阶段,将异常和超时参数设置为ignore;在验收测试阶段,不设置此类参数㊂Monkey 命令示例:adb shell monkey -p xxx -p xxx -s 0--throttle 300--pct-touch 40--pct-motion 20--pct-syskeys 10--pct-anyevent 10--pct-appswitch 10--pct-flip 5--pct-pinchzoom 5--ignore-crashes --ignore-timeouts --ignore-security-exceptions --ignore-native-carshes -v -v -v 50001.1.4㊀运行过程设计㊀㊀数据交换接口通常采用xml 格式来实现㊂本工具中用户配置接口即设计为一个xml 文件,其中包含了Monkey 测试参数㊁测试模式㊁被测系统的日志路径㊁检测门限值等参数㊂用户只需在此文件中填写参数值即可实现不同测试方案的更改㊂主程序在执行测试时会首先解析该xml 文件,读取用户设置的参数㊂执行流程如图1所示㊂图1㊀Monkey 测试工具执行流程1.2㊀工具运行效果分析㊀㊀在产品开发前期阶段,系统还不稳定,Monkey 工具发现了较多黑屏㊁冻屏㊁死机等重大问题㊂在产品开发中后期阶段,系统趋于稳定,Monkey 测试可以持续运行较长时间,更全面地发现了ANR㊁Crash 等异常㊂工具在日志抓取方面做到了实时㊁全面,能够满足开发分析的需求㊂2㊀基于Python+Pytest+UIAutomator2的自动化测试工具㊀㊀Python是全球最受欢迎的编程语言之一[1],拥有丰富的测试框架和工具[2],如Robot Framework㊁Pytest㊁Unitest等,而Pytest是最受欢迎和最具影响力的一个㊂UIAutomator2是Android UI自动化测试的开源工具之一,可以对任意应用程序的任意一个控件属性进行任意操作,开发者们推出的Python-UIAutomator2提供了Python接口,支持Python编程㊂Python-UIAutomator2的运行主要涉及两个部分: Python客户端和被测设备㊂UIAutomator2的运行环境需要进行以下配置:(1)被测设备端打开开发者选项,以ADB方式连接PC㊂在PC的CMD窗口执行adb devices,查看设备是否成功连接㊂(2)PC端安装Python3.x;安装UIAutomator2,在CMD窗口执行pip install UIAutomator2;安装WEditor㊂(3)在PC端CMD窗口执行Python-UIAutomator2init,安装被测设备端的HTTP RPC服务apk㊁atx-agent等㊂这些是UIAutomator2运行的必要工具㊂2.1㊀基于UIAutmator2的自动化测试方案设计㊀㊀Monkey工具对于智能车载娱乐系统而言,无法涉及与车上其他电子控制单元(Electronic Control Unit,ECU)的控制器局域网络(Controller Area Network,CAN)[3]通信车载协议测试㊂为解决这个问题,本文引入了定制功能路径的测试方案㊂定制功能路径测试具有以下优点:(1)测试步骤根据用户实际操作设计,测试场景更接近用户行为㊂(2)支持个性化定制,可以根据不同功能模块的特点,定制个性化的测试步骤㊂(3)支持压力测试:可以通过设置Pytest装饰器的参数值重复执行指定脚本,以检查系统的稳定性㊂定制功能路径测试的目的有2个:功能验证和性能验证㊂前者重点关注系统在执行一般用户操作(如点击㊁按键㊁滑动等)后的系统反应是否正确㊂后者主要通过反复执行某一类型的操作,如蓝牙㊁Wi-Fi的开关/断连㊁系统软重启㊁休眠/唤醒等,来检查系统功能和状态在重复压力或长期运行下是否稳定㊂这种测试对于发现系统内存泄漏以及稳健性相关的问题非常有效㊂定制功能路径测试分为常规操作类㊁Can信号交互类和性能测试等场景㊂常规操作类测试涵盖了用户常见的操作行为㊂Can信号交互类测试则关注系统在与其他ECU通信时系统状态及反馈是否正确㊂性能测试则是通过大量操作后,测量系统的关键性能指标,如冷启动/热启动时长和开机时序等,对系统进行全面的性能评估,以确保产品满足出厂及市场标准㊂定制功能路径测试具体场景设计如下:(1)单App全功能链路验证,主要用于验证单个应用程序的基本功能㊂(2)多App全功能链路交互验证,主要用于验证多个应用程序之间交互是否正常㊂(3)典型单场景操作,如开关反复开闭㊁休眠唤醒等,主要用于验证系统关键功能是否稳定㊂(4)性能测试,冷/热重启㊁休眠唤醒等场景重复执行百遍后,验证启动时序㊁统计平均开机时长㊂(5)场景复现,针对一些较难复现的bug开发特定的测试脚本尝试复现,出具复现概率报告或压力测试报告㊂2.2㊀自动化测试工具设计㊀㊀(1)界面元素获取工具㊂本文使用WEditor来定位元素,WEditor基于Python,能提供辅助编写脚本和调试代码的功能,可以通过浏览器轻松打开,简单易用㊂WEditor可方便获取到元素的Xpath属性(Xpath是元素的绝对唯一属性)㊂(2)测试脚本工程架构㊂基于UIAutmator2的自动化测试工具框架及整体运行流程设计如图2所示㊂①Main.py为测试引擎,主要完成测试报告的创建㊁测试套件配置参数的获取㊁各种路参数径的获取㊁测试命令下发等㊂②Config路径下存放test_cfg.py和xpath_cfg. py㊂前者用于存储测试套件的配置参数,如测试环境㊁用例㊁数据等㊂后者用于存储测试用例用到的参数,如XPath值㊁Can信号值等㊂③TestCases路径下存放所有测试脚本文件,每个功能模块对应一个.py文件,每个测试用例对应一个函数,用例运行策略由Pytest装饰器参数值指定㊂④util.py是一个集合了所有公共函数的Python 文件,如环境恢复㊁xml文件解析㊁用户操作㊁Can信号收发㊁Log抓取㊁系统状态检查等㊂⑤TestReports路径下存放测试报告,每轮测试都会创建一个新的网页版测试报告㊂测试报告中可以包含测试结果㊁执行时间㊁测试用例的通过或失败状态等信息㊂(3)Can信号收发工具使用开发㊂本文工具针对Pcan测试仪开发Python脚本,通过对PCanBasic.dll进行二次开发来实现㊂PCan Basic.dll的原生函数有:Initialize(初始化一个PCan 设备的PCan通道)㊁Uninitialize(取消初始化)㊁GetStatus(获取当前PCan通道的Bus状态)㊁Read(从消息接收队列中读取Can消息及其时间戳)㊁Write (发送Can消息)等函数,对上述源码进行Python二次封装,编写更易于测试人员使用㊁更符合项目需求的公共方法(如Send()㊁Receive()㊁Check())等,汇集到PCanBasic.py文件,测试用例中导入PCanBasic. py即可使用封装的函数㊂图2㊀UIAutomator2自动化测试工具框架及流程2.3㊀工具运行效果分析㊀㊀在产品开发的中后期阶段,系统已逐步趋于稳定,每次软件发布版本后使用自动化脚本即可完成大部分基础功能验证,无需人工再次轮询测试用例,极大地节省了人力和时间成本㊂此外,在压力和性能测试方面,该工具获取的数据比手动测试更为科学准确,帮助了产品团队迅速准确地了解产品的性能,为产品的优化和改进提供了坚实的依据㊂UIAutomator2自动化测试工具在保证产品质量㊁提高测试效率以及节省时间和人力成本等方面都发挥了人工测试不可替代的作用㊂3㊀结语㊀㊀本文通过对智能Andriod车机系统稳定性测试方案及Monkey和UIAutomator2自动化测试工具的研究,设计并实现了2种自动化稳定性测试工具㊂这些㊀㊀工具在实际项目中切实提高了工作效率和产品质量㊂随着车联网和智能网联产品的不断发展,IVI娱乐系统的稳定性测试将越来越受到重视,类似的自动化测试工具将发挥更为广泛和重要的作用,对于推动车载智能产品的发展有着重要的意义㊂参考文献[1]CHUN W.Python核心编程[M].3版.北京:人民邮电出版社,2016.[2]蒲天杭.基于Python语言的仪器管理与测试系统研究[J].中国仪器仪表,2020(2):52-55.[3]江永聪.基于DBC的汽车CAN报文远程采集与分析系统设计[J].电子技术与软件工程,2014(14): 203-204.(编辑㊀王永超)Design and implementation of stability testing for Android IVI systems andautomation testing toolsLiu MengNanjing Normal University of Special Education Nanjing210038 ChinaAbstract With the increasing complexity of features in Android IVI entertainment systems resulting in more and more safety and stability issues occurred.In order to improve the efficiency of product development and testing ensure product stability and performance this article studied Andriod IVI system stability testing scheme designed and implemented two automation stability testing tools based on Python Monkey UIAutomator2.These tools have effectively demonstrated effects that cannot be replaced by manual testing in real-world projects.Key words stability testing Python Monkey UIAutomator2。
基于Tcl的自动化测试系统的研究与设计

统 的可 复 用 性
测 试 任 务 .所 以 自动 化 测 试 系 统 的建 立 以 及 系 统 的重 用 性 是 最 值 得 测 试 人 员 深入 探 究 的 地 方 自动 化 测 试 系统 对 质 量 的重 要 意 义 .不 仅 仅 在 于 发 现 软 硬 系统 中 存 在 的错 误 .更 体 现 在 经 过 各 种测 试 技 术 和 方 法 对 软 件 产品进行测试后 . 降低 产 品设 计 和 开 发 的成 本 . 可 还 以增 强 客 户 对产 品 质量 的信 心 在 现 阶 段 , 件 测试 的 软
④ 现 计 代 算机 21. 02 5 0
开 发 案 蜘
— — —— — — — — — — — — — — 一 — — ,. ..... . —. .... . — .. .. .. — ..... ...—— — ... ... ——... ..... ——... ..... ———.. ..... —, ,. ..... .—— , ..... . — , .... .——— . ..... 。 .. ..—
化测试部署过程 , 于测试 人员 实施测试工作 。 便
★基 金 项 目 : 西 省 _ 业 攻 关 项 目 ( .0 9 1 4 ) 陕 T - No2 0 K0 - 9 收 稿 日期 : 0 2 4 1 2 1 —0 ~0 修 稿 日 期 :0 2 0 -0 21- 5 1
作 者 简介 : 旭琴 ( 9 5 , , 西 西 安 人 , 读 研 究生 , 究 方 向 为数 据 库 理 论 及 应 用 、 柴 1 8 -) 女 陕 在 研 软件 测试
\ \
电力系统智能装置自动化测试化系统的设计

2 系统 设 计 方 法 与 关 键 技 术 分 析
2 . 1 设 计 方 法 当 前仿 真 测 试 系 统 大 体 可 分 为 单 机 平 台和 分布 式 平 台 两 个 体系结构。 单机平 台的特点是构架简 单功 能简单 。 而 分布式平 台
的 构 架 则 是 非 常 复杂 的 。 由于 仿真 环 境 测 试 需 要 十 分 复 杂 , 所 以
1 嵌 入 式 系统 仿 真 测 试 环 境
储在 R O M 中。实际上, 几 乎 所 有 数 字 接 口的 设 备 , 诸 如 手表 、 录 执 行模 块 和 测 试 流 程 。 像 还 有 汽 车 等 这 些 电 子产 品 , 全 都 使用 这 种 嵌 入 式 的系 统 。该 系 @T C Ho s t 为主控模块 ,其程序是 :用户命令接 口一 系统配 统 还 包 含 有 操 作 系 统 。但 大 部 分 的 嵌 入 式 系 统 几 乎 都 是 通 过 单 置一 测 试 用 例一 测 试 脚 本 的编 写一 测 试 过 程 的 监 控 一 从 机 模 块 个 程 序 来 实 现 整 个 控 制 逻 辑 的 。 至 于 它 的可 靠 性 、 体积 、 功 耗 和 管 理 一 测 试 结 果 分 析 处 理 一 测 试 报 告 生 成 。 T C Ho s t 采用 了 成 本 则 有 严 格 要 求 。而 继 电保 护 和 自动化 系统 的专 用 程 度 较 高 。 Wi n d o w s 操 作 系 统 这 样 使用 起 来 非 常 方 便 。 同 时 T C H o s t 还 肩 负 为 防 止 它 出现 失 效 从 而 导 致 严 重 后 果 ,工 程 要 求 对 所 有 的嵌 入 这 测试 脚 本 的 管 理 及 测 试 环 境 的配 置 的 部 署 并 检 测 测 试 软件 执 式 系 统 进 行 十 分严 格 的测 试 , 以保 证其 稳 定 性 。因 嵌 入 式 软件 在 行状态 、 整合测试结果这些任务 。 ②T c A g e n t 为测试 执行器 。 它是 测 试 时 需 要 考 虑 非 常 多 的 因素 , 诸如软 硬件平 台、 操 作 系 统 的集 和 被 测 目标 机 互 相 交 换 信 息 的 。它 的主 要 任 务 包 含 : 目标 系 统 配 成, 另外 还 有 软 件 本 身 。同 时 时 间性 和 实 时 性 等 其 他 和性 能相 关 置 、 解释测试脚本 、 数据仿真处理 、 生 成 激 励 信 号驱 动 软 件 运 行 。 的 要 求 都 给 测 试 带 来 很 大 的麻 烦 , 因此 这 是 一 项 既 复 杂 又 耗 时 接 收数 据 及 上送 到 宿 主 机 的主 控 程 序 实 时 比较 。 网络 1 0 3 协 议 的 工 作 。为 了行 之 有 效 的进 行 软件 测 试 , 提高测试效率 , 降 低 复 模 块 就 是 这 样 的 程序 : 它 主 动 上 送 收 集 到 了数 据 , 将 其 返 还 给 主 杂 度 ,本 文 介 绍 利 用 嵌 入 式 软 件 仿 真 测 试 环 境 建 立 一 个 实 时 的 控 程 序 。 与 此 同 时 又 负 责 执 行 诸 如 定 值 下装 、 对 时、 遥控操作等 仿 真 系 统 对 实时 嵌 入 式 系 统 进 行 实 时 性 、 自动 化 和 非 侵 入 式 的 主控程序下发 的网络命令。③该通用系统的测试流程框架包括 : 系 统 测 试 。这 就 是现 在 国 内外 公 认 的测 试 实 时 嵌 入 式 软 件 的有 测 试 开 发 流 程 、 测试 执 行 流 程 。测 试 人 员 通 过 一 系 列 的 流程 最 终 效 方 法 。 自动 化 测 试 的 特 点 是 可 以使 测 试 用 例 多次 运 行 , 并 且 具 将 测 试 结 果 报 告 给 相 关人 员 , 测 试 流程 图 1 所示 。 有 可 重 复 的特 性 。 它 能 够 完 成手 工 测 试 所 不 能进 行 的 测试 。 手 工 2 . 2 关 键技 术 测 试 局 限于 时 间和 运 行 环 境 , 从而使测试 不完整, 自动 化 测 试 的 关 键 技 术分 实践 应 用 主 要 包 含 三 个方 面 的处 理 :脚 本 语 言 、 引 入 使 确 保 了测 试 过 程 的完 整 性 。并 且 , 自动 化测 试 还 具有 可 扩 通 信 方 式 和 开 放 式接 口。 展性。即, 当 测 试 软件 的功 能 扩 展 的 同时 , 测 试 用 例 也 跟 着扩 展 。 ( 1 ) 该系统采用 P y t h o n作 为 测 试 脚 本 语 言 。测试 脚本 用 于 实 除 此 之 外 自动 化 测 试 还 能 提 高 测 试 效 率 并 保 证 测 试 的 可 靠 性 。 现 自动化 。 测试脚本 的使用可让测试 工作人员减少工作负担。 在 它 可 以消 除 测 试 过 程 当 中 出现 的 盲 目性 还 有 随机 性 。 并 且 可 以 测 试 系 统 中 使 用 脚 本语 言 实现 测 试 用 例 并 利 用 C + + 与P y h b o n的 降 低 人 为 产 生 的冗 余 和 遗 漏 等 现 象 对 测试 的干 扰 。 优 势 实 现 复 杂 的逻 辑 运 算 。由于 系 统 中 被镶 嵌 入 了 P y h t h o n脚 本 本文针对智能装置设计了一套 自动化测试系统 , 实现 自动化 解 析 器 充 分 运 用 脚 本 语 言 和 系 统 编 程 语 言 的特 点 , 在 测 试 脚 本 测试 。 它 通 过 测 试 脚 本 对 对计 算机 进 行 控 制 。 这 套 系统 的重 要 组 执行 中使得 P y t h o n和 c + + 融合的非常完美 了。
自动化测试系统顶层设计方法论说明书

Method of Top-level Design for Automated TestSystemsZhenjie Zeng1, Xiaofei Zhu1,*, Shiju Qi1, Kai Wu2 and Xiaowei Shen11Rocket Force University of Engineering, Xi’an, China2Troops No. 96604, Beijing, China*Corresponding authorAbstract—When designing an automatic test system, it is necessary to make each electronic test device conform to different test requirements. The most important issue is the system top-level design. The article starts with the three steps of the top-level design: system requirements analysis, architecture selection and analysis, and test equipment configuration. It describes in detail how to develop the top-level system design efficiently and reasonably when developing automated test systems. The principles, available method techniques, and precautions have some guiding significance for the top-level design of automated test systems.Keywords—automatic test system; top-level design; requirements analysis; architecture selection; test equipment configurationI.I NTRODUCTIONUsually, with a minimum of human involvement, a computer is used to execute a software program to control the test process and perform data processing until the test system that gives the test results in an appropriate manner is called ATS (Automatic Test System) or ATE (Automatic Test Equipment). .With the advancement of test bus technology, computer technology and software engineering technology, the difficultyof establishing ATS systems is also increasing. Due to the diversification of test objectives, there is no bus that can cover the needs of the entire automated test, coupled with the complexity and diversification of the test process and the function of the test instruments, making the establishment of modern automated test systems, especially the design of test software. The difficulty has doubled. How to effectively and rationally plan the test system architecture and select test equipment is a place that is not yet perfect, and therefore the top level design of the automatic test system is getting more and more attention.II.T OP-LEVEL D ESIGNAs the name suggests, the top-level design is the overall planning and design at the highest level. The top-level design of automatic test system integration is to stand at the level of past, present and future demands of the system under test, and to conduct overall planning and design from the perspective of technological development.The top-level design of automatic test system integration is based on sufficient requirements analysis, and comprehensively considers the optimal matching of technical and economic performances. It is advanced, practical, open, real-time, universal (compatibility), and reliability. , maintainability and other aspects of a comprehensive analysis, determine the test system architecture (including hardware platforms and software platforms), develop a corresponding test program. As shown in Figure 1, it is usually divided into three steps: requirements analysis, architecture selection and analysis, and test equipment configuration.AemandanalysisArchitectureselection andanalysisTest equipmentselection andconfigurationFunctional AnalysisTarget signal typeMeasured parameter definitionTestability analysisTest method analysisInterface bus analysisHardware architecture analysisController selection and analysisHardwareplatformSoftware operating environment analysisOperating system selection and analysisDevelopment platform selection and analysisDatabase selection and analysisTest instrument (module) selectionUTT interface connection designSpecial parameters require processingSoftwareplatformFIGURE I. AUTOMATIC TEST SYSTEM INTEGRATION TOP LEVELDESIGN FLOWIII.D EMAND A NALYSISTest requirement analysis is the basis of automatic test system integration top-level design. It mainly contains five aspects: functional requirements of the test target, test parameters, test objects, test methods, and test system planning.3rd International Conference on Electrical, Automation and Mechanical Engineering (EAME 2018)A.Test Target Functional RequirementsThe different requirements of the test equipment working platform determine the test speed requirements, and also determine the different requirements of the online/offline test; the main control method and logic of the tested equipment determines the difference between the test procedures and methods; the input frequency of the tested equipment, Different parameters, such as amplitude and modulation method, determine the overall requirements for the operating frequency band, small signal level (minimum leakage), and waveform parameters of the automatic test system analog signal source; the output and content of the device under test determines the signal sampling of the automatic test system. The data acquisition method is different; the digital communication interface of the device under test determines that the digital communication interface that the automatic test system should have is different from the protocol; the testability interface of the device under test determines the final test capability and fault diagnosis ability of the automatic test system.B.Test ParametersThe test parameter analysis includes analysis: the form of the measured parameter (electrical or non-electrical, digital or analog, etc.), range and quantity; performance index (measurement accuracy and speed, etc.); the form and range of the excitation signal. In particular, when analyzing requirements for a top-level design of a general-purpose comprehensive automatic test system that is suitable for multiple systems, multiple protocols, and multiple equipment, comprehensive analysis is often required to integrate the test parameters.C.Test ObjectThe test objects vary widely. When analyzing the test objects, a comprehensive analysis must be performed in conjunction with the test system requirements of the test objects. In the face of a specific test object test system or subsystem, the description can use a variety of expressions to give different models of the test system at different levels of simplification, such as language descriptions, graphics, and mathematical formulas. As a simplified description of some test systems, their models merely express their basic characteristics, often ignoring irrelevant details in order to simplify their complexity. For a complex test object test system, a model is inevitably limited by some assumptions in its design and utility. These conditions often have some ambiguity and basically reflect an implicit conceptual idea. Therefore, when analyzing the requirements of a specific test object, it is usually necessary to establish a corresponding test system model.D.Test MethodsAccording to the functional requirements of the test target, a corresponding test method is formulated for the “face-to-face automatic test system” or “object-oriented automatic test system”.. E.Test System PlanningWhen developing an automated test system, it often takes a lot of time to complete the test-assisted tasks such as creating files and programming supporting test software. The test application software development platform can standardize all kinds of test processes and integrate an operating system that is suitable for various test and post-processing functions. It can help us to complete these test auxiliary work; therefore, we use this kind of test platform to conduct various tests. When testing, you can save a lot of time.IV.A RCHITECTURE S ELECTION AND A NALYSIS On the basis of sufficient requirements analysis, determining the architecture of the automated test system is the most critical step in the top-level design. That is how to determine the test plan from the perspective of the top-level design, and select the hardware platform and software platform architecture of the automatic test system, and the most important one is the selection of the test equipment digital communication interface bus.A.System Test Plan SelectionThe system test plan is the overall concept of product testing. It specifies the type of product testing, when (continuous or regular) testing, where (field or workshop, or which maintenance level), testing methods, and test methods used. The types of system test can be divided into: system-wide test and departmental system test, static test and dynamic test, online test and offline test, quantitative test and qualitative test, continuous test and periodic test, etc. The test level can be divided into three levels according to the location: production site, use site, and maintenance base. The test system (equipment) operating methods are generally:According to the use of the operation can be divided into three kinds of automatic, semi-automatic and artificial; according to the general degree of application can be divided into two kinds of special and general equipment; according to the association with the product can be divided into two kinds of BITE and external test equipment.Most of the test methods used in automated testing have so far been modeled on manual tests, from the measurement principles used, the testing techniques used, to the test procedures performed, except that computers were used instead of manual operations. As far as the characteristics and potential of automatic testing are concerned, fundamental reforms of the test plan are needed for future research.B.Selection of Test Equipment Digital CommunicationInterface Bus and ATS StructureThe development of automatic test systems has promoted the continuous emergence of various general-purpose test equipment interface buses and rapid technological advancement: from the early GPIB, CAMAC to the recent VXI, MXI, PCI, PCIe, PXI, PXIe, cPCI, MMS, IEEE1394 ( Firewire), USB, etc. Although technical characteristics are not the same, they are widely used.The structural elements of a modern automated test system are programmable test instruments, test controllers, interconnected standard digital interfaces, and software systems. At present, modern automatic testing has been widely used, and the test objects faced are large, complex, and diversified, making it impossible for an automatic test system based on any kind of bus technology to cover the needs of the entire test object.Multi-bus fusion automatic test system structure shown in Figure 2. It consists of test instruments, DUTs(design under test) and UUT(unit under test) interfaces, test controllers (computers), various general-purpose digital interface buses, and test software. The test controller is interconnected with the test instrument through the digital interface bus, and the device under test is connected to the input/output terminal of the test instrument through the UUT interface. The digital interface bus used may be GPIB, VXI, PXI, LXI, or even an internal computer bus (AT/EISA/PCI), or their convergence. Once the standard digital interface bus architecture used is determined, the automatic test system architecture is basically selected. In an automatic test system, regardless of the interface bus architecture, an external computer or built-in computer system can be selected as the test system controller. The choice of the test system controller should fully consider the optimal matching of technical and economic performance, and choose from real-time, practical, reliable, flexible and convenient.CAT test hostMaster control computerGPIB instrument PC card typeinstrumentVXIinstrumentPXIinstrumentUUT interfaceUUT……FIGURE II. MULTI-BUS FUSION AUTOMATIC TEST SYSTEMSTRUCTUREC.Test Software Platform Mode SelectionIn modern computer-based automated test systems, hardware is the foundation and software is the soul. Test software has increasingly become the main body of ATS, which determines the advanced nature, reliability, practicality, and real-time performance of the entire automated test system.The automatic test software platform mainly refers to the programming language and software support environment involved in the test application software design. It is an integrated software platform such as a computer operating system, a test programming language, a database software, and a program diagnosis software. The key element is Test programming language. Since the automatic test system was popularized and applied, there have been great developments in testing programming languages from low-level to high-level, to the current test application development environment.V.T EST E QUIPMENT C ONFIGURATION After the system structure of the test system is determined, the next task is to synthesize the test contents according to the requirements analysis, and to match the corresponding test equipment according to the test content requirements. There are three types of optional test equipment: general test equipment, special purpose equipment, and test interface adapter.A.Universal Test EquipmentThe universal test equipment includes a main box, a test controller, a main control interface, a zero slot controller, an instrument module, and a desktop instrument. The following factors should be considered when selecting the type of equipment: (1) The higher the degree of equipment automation, the shorter the time for detecting and isolating faults, and the less the manpower consumption, but the cost of test equipment will increase and more protection is needed. (2) Differences in capabilities between the two are to be considered when selecting a BIT (Built-in-Test) and an off-board automatic test equipment. (3) When the BIT is used in conjunction with the off-board automatic test, make full use of the BIT capability of each unit under test. (4) When selecting a dedicated or general-purpose device, it is necessary to consider that the special-purpose device is simple and convenient to use and has high efficiency, but the use range is narrow. (5) The main selection of instrument and equipment is based on the requirements of test parameters, characteristics of the signal to be measured, and range selection. When selecting the instrument module, pay attention to the size of the bus module, power, and number of slots.B.Special Purpose EquipmentWhen the test is not ready for selection, in addition to the above-mentioned common tests, when preparing for the following situations, it may be considered to develop or develop special purpose instrument (module) equipment. When the current product can not meet the test requirements, multiple instruments and equipments are required to complete the measurement together. However, the utilization rate of each instrument is very low or can be accomplished with one instrument. When the price is high and the utilization rate is low, the use of development or development is considered. Special purpose instrument.C.Test Interface Adapter DesignFor different test objects, the extraction and feeding of various test signals requires the design and manufacture of various test interfaces and special fixtures. In the automatic test system, especially the automatic test system assembly of complex electronic equipment, the requirements of the same type but different models and different test objects existuniversally, and often require the test system group to build a relatively universal automatic test platform. Through this platform, different test modules and test methods can be used to quickly and easily complete the automatic test system set-up (configuration) task for different test objects; however, the test interface and the dedicated test module cannot be matched and can only be tested according to the device under test. The test requires the development of a test interface adapter.VI.C ONCLUSIONThis article starts with the three steps of the top-level design: system requirements analysis, architecture selection and analysis, and test equipment configuration. It describes in detail how to perform top-level design efficiently and reasonably when developing automated test systems, and analyzes what the design must follow. Principles, methods, techniques, and precautions have certain guiding significance for the top-level design of automated test systems.R EFERENCES[1]LI Xing-shan, ZUO Yi, SUN Jie. Automatic Test System IntegrationTechnology[M]. Publishing House of Electronics Industry, 2004.[2]QIN Hong-lei, LU Hui et al. Automatic Test System. Beijing: HigherEducation Press, 2007[3]LIU Si-jiu, ZHANG Li-yong. Automatic Test System and VirtualInstrument. Beijing: Publishing House of Electronics Industry, 2009 [4]GU Zhi-yong, TENG Peng, HU Shi-guo, et al. Top-level design of ATSoverall plan for integrated helicopter display systems[J]. Electro-optics and Control, 2008, 15(11):59-62.[5]GU Ya-ping. Research on Top Design of VXI Bus TestingTechnology[J]. Electronic Testing, 1998(8):22-23.。
浅析软件测试自动化管理系统的设计与实现

关键词 :软件测试; 自动化 管理 ;软件测试 自 动化模型
软件测试 自动化 管理 , 简单点来说就 是
必须加大 自主研发 的力度 , 这样才能早 日实
科技创新 2 0 1 4年 2月 ( 中)
浅析软件测试 自动化管理系统的设计与实现
沈孝 凯
( 华 中科技 大学文华 学院,湖北 武汉 4 3 0 0 7 4 )
摘要 :在 网络 日益发达的今 天,人 工测试软件 的效率已经远远 不能满足人们的需求。庞 大的网络体 系以及复 杂的 网络环境使得网络运行环境变得越 来越危险
说, 不仅仅是整个软件程序需要测试 , 从最 开始的设计 、 需求分析和功能设计等都需要 进 行一一测试。这样运行的结果就是在一个 阶段的文档生成之后 ,测试就会马上进行 , 如果 在哪一 部分发 现有问题 就要 及时进行 解 决。由此可见 , w 模型 的应用不仅会提高 工作效率 ,还能促进软件 内部质量 的提高。 不过 , W 模型也有 它的不足之处 , 那就是 在 实 际操 作 中软 件开发 和测试 总是 由一个先 后 的顺序 , 而且只有 当上一个阶段完成之后 并 给 了明确 的指令之 后才能进行 下一个 阶 段 的研发 工作 , 但是基于 w 模型的阶段同步 测试工作 无疑会延长每个阶段的开发时 间, 这埘这个 问题 , 到目 前还没能找 出一个完美 的解决方法 。当然现在软述
软件 自动化 测试 的管理 过程 主要 是按 照软件的规程来进行测试 ,之后将测试得 到 的结果与预想的结果 进行对 比,从 而发现 软 件存在的不足并继续完善 。 软件测试 自动化 便利 了测试 工作 , 但是研制软件测试 自动化 管理系统也是像软件开发一样 。 经历 了一个
无线广播电视发射台站自动化信号检测系统设计与实现

无线广播电视发射台站自动化信号检测系统设计与实现摘要:本文以现在广播电视自动化发射站自动化发展背景作为出发点,介绍了一种自动化信号检测系统的设计方案。
该系统采用现代的嵌入式技术,设计了一种高效准确的信号检测算法,实现对无线广播电视信号的自动化检测。
该系统具有可扩展性强、工作效率高、易操作等特点。
经实际测试,该系统的检测效果良好,能够满足广播电视行业的实时监测需求。
关键词:自动化发射站,无线广播电视,信号检测系统,嵌入式技术,检测算法正文:一、引言随着无线广播电视行业的快速发展,广播电视无线发射站在信息传输领域的作用越发重要。
为了确保无线广播电视信号的准确性和稳定性,自动化信号检测系统成为了发射站自动化管理的必要组成部分。
本文旨在设计并实现一种高效准确的无线广播电视发射台站自动化信号检测系统,以满足实时监控及故障检测的需要。
二、相关技术为了实现自动化信号检测系统的设计,需要掌握以下关键技术:1、嵌入式技术嵌入式技术是指将计算机软硬件系统嵌入到其他设备中,使该设备具有智能化和自动化的能力。
在自动化信号检测系统中,嵌入式技术可以实现系统的高效稳定以及实现多种信号检测算法。
2、信号检测算法为了实现对无线广播电视信号的自动化检测,需要针对不同类型的信号设计不同的检测算法。
常用的信号检测算法有功率谱法、自相关法、互相关法等。
三、系统设计基于嵌入式技术和信号检测算法,本文提出了一种自动化广播电视发射台站信号检测系统的设计方案。
该系统主要包括硬件系统和软件系统两个部分。
1、硬件系统硬件系统主要包括检测设备和数据采集设备两个部分。
检测设备采用专用的嵌入式处理器,具有高效稳定的性能。
数据采集设备则根据广播电视信号的不同特征采用不同的传感器进行数据采集。
2、软件系统软件系统是嵌入式系统中的核心部分,包括信号检测算法的实现和数据处理模块等。
信号检测算法可以根据不同类型的广播电视信号进行设计,实现高效准确的信号检测。
数据处理模块则主要负责对采集到的数据进行分析处理,实时更新数据状态信息。
基于C#和XML的自动化测试框架系统的设计

C 1 # [是一种新的现代的面向对象的程序开发语言,它使 3
得程序员能够在 . E N T平台上快速开发种类丰富的应用程序。
. N T平台提供了大量的工具和服务, E 能够最大限度地发掘和 使用计算及通信能力。由于其遗留的面向对象的设计,从构建
组件形式的高层商业对象到构建系统级应用程序,C并将是最 合适的选择。使用 C并语言设计 的组件能够用 于 We b服务, 这样通过 It nt ne e,可以被运行于任何操作系统上为任何编程 r 语言所调用。C #在带来对应用程序的快速开发能力的同时,
形式呈现给用户。
1 U i测试框架 N nt
对于单个的测试运行,挖潜的机会在于测试的设置、开始 运行Байду номын сангаас最终结果的对比这两种情形。有时候,我们需要反复修 改程序,重新汇编和重新测试。这样,每一个循环过程中各种 手工键人的设置与指令所花费的时间加起来就非常可观。如果 能利用一个 自 动测试软件工具来帮助测试,就能节省大量的时
赵政文(95 男, 15 一) 陕西西安人, 教授, 硕士生导师, 主要从事软件
工程 、 数据结构与算法分析方 向的研究 。
中华测控 网
c i a ac m h n mc .o
第 1 0期
齐震,等 :基于 C #和 X ML的自动化测试框架系统的设计
10 3 5
并没有牺牲 C与 C ++程序员所关心的各种特性 。 C #专门用于 . e运行时。C Nt 井编译器只能生成受管制的 代码,也可以使用 . e 基类。C#的重要性体现在两个方面 : Nt 第一,它是专门为与 . e 运行时高度兼容而设计的。第二, Nt 它是一种现代 的面向对象的语言,在设计它时,Mioot c sf还 r 学习了其他语言的经验,这些语言是近 2 年来面向对象规则 0 得到广泛应用后开发出来的。C#就其本身而言只是一种语 言,尽管它是用于生成面向. e环境的代码,但它本身并不 Nt 是 . e的一部分。一些特性由. e支持, C Nt Nt 但 井不支持;而 另一些特性 C 井支持,但 . e却不支持。 Nt 在实践中,许多企业 自行开发的自动化工具都是利用一些 现成的软件工具再加上 自己写的程序而组成的,没有形成基于 . 的自动化测试框架的特色。本文开发的系统针对 C# Nt e ( 语法与J V A A相似,运行期与 C 1 +-相似)的特点,在单元 一 测试上,保持和 J i框架一致 ,可用性非常强 ;同时,利用 Un t X MI具有良好交换数据的特点,也能根据需要随时改进测试 数据,具有良好的弹性。因此 ,本文讨论的自动化测试框架就 是建立在 N i的基础上进行开发构建的。 Un t
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
自动化测试系统的设计分析
【摘要】压力仪表的工作原理是弹簧管在压力或真空作用下产生弹性变形引起管端位移,其位移通过机械传动机构进行放大后再传递给指示装置,可在刻有法定计量单位的分度盘上读出指针所指示的被测压力值或真空量值。
【关键词】自动化;检测;仪表
【中图分类号】tu446【文献标识码】a【文章编号】1674-3954(2011)02-0139-01
大型制造企业各工序都是连续性衔接作业,往往造成许多现场压力仪表虽到检定周期,却由于不能停产也就不能从作业。
压力仪表的工作原理是弹簧管在压力或真空作用下产生弹性变形引起管端位移,其位移通过机械传动机构进行放大后再传递给指示装置,可在刻有法定计量单位的分度盘上读出指针所指示的被测压力值或真空量值。
一、在线校准预期
1、目的:实施在线校准适应生产流程计量需求,降低外送检费用。
2、校准仪表范围:本企业现场在用压力仪表。
3、校准范围:0~100mpa
4、校准对比准确度:1.5%~1.6%
5、预期目标:实现在线压力仪表的受控、有效。
6、校准方案种类:a. 理想型校准比对;b. 实用型校准比对。
二、材料准备
1、专用管道打孔器
2、符合现场压力仪表准确度及量程的数块相应受控有效标准表。
3、校准比对记录。
三、在线校准比对方案
1、实用型对压力仪表的校准比对
(1)在同一管道上:在距拟被校准的现场压力仪表的适当范围内,用专用管道打孔器引出导压管路,在导压管路中间安置一截止阀(截止阀处于关闭状态),截止阀后的接口处安装压力变送器与拟被校准仪表同规格的受控有效标准压力表。
(2)缓慢开启截止阀至全开,待管道内流体介质充分进入标准表内数分钟后,分别读取两块表的指示值。
(3)填写校准比对记录。
2、理想型对压力仪表的校准比对
自制一台流动简易“压力校验台”。
(1)在流体介质管道上,关闭在用(即拟被校准)的现场压力仪表的“截止阀1”(该截止阀处于关闭状态)。
(2)在截止阀后适当延长导压管路。
(3)在延长导压管路上安装一只三通。
(4)三通的直管口的接口处安装在用的指示为零的压力仪表。
(5)三通的丁字管口的接口处新安装“截止阀2”(该截止阀也
处于关闭状态)。
(6)在“截止阀2”后接压力“专用校验管”至简易流动“压力校验台”上预置的“专用校验管接口”。
(7)“压力校验台”上还预置有受控、有效的相应型号规格的标准压力表。
(8)检查无遗漏后,逐一缓慢开启截止阀1、截止阀2至全开;数分钟后,分别读取两块表的指示值。
(9)填写校准比对记录。
四、经验:
认真做好巡回检查工作仪表工一般都有自己所辖仪表的巡检范围,根据所辖仪表分布情况,选定最佳巡检路线,每天至少巡检两次。
巡回检查时,要关闭气源,并松开过滤器减压阀接头。
拆卸环室孔板时,注意孔板方向,一是检查以前是否有装反,二是为了再安装时正确。
由于直管段的要求,工艺管道支架可能少,要防止工艺管道一端下沉,给安装孔板环室带来困难。
拆卸的仪表其位号要放在明显处,安装时对号入座,防止同类仪表由于量程不同安装混淆,造成仪表故障;带有联锁的仪表,切换置手动然后再拆卸;仪表一次开车成功或开车顺利,说明仪表检修质量高,开车准备工作做得好。
反之,仪表工就会在工艺开车过程中手忙脚乱,有的难以应付,甚至直接
影响工艺生产。
五、发展建议
1、发展趋势
(1)结构日趋简洁,从当前发展最快的3种流量仪表(电磁、超声、科氏)来看,机械结构都十分简洁,管道内既无转动件,又无节流件。
(2)功能力求完善,随着微电子、计算机、通信技术的飞速发展,流量仪表的功能日益完善、多样,不少机械部分难以解决的问题,依靠电子软件则迎刃而解,如krohne的智能电磁流量计,不少超声流量计不仅可测流量,还可测流体密度、组分、热能等等。
(3)安装日益简便,工业自动化程度越高,用户越欢迎采用安装维护简便的产品,这也是插入式,外夹式仪表日益畅销的原因。
2、国产化刻不容缓:
据了解,我国近年来进口仪器仪表约130亿美元,出口约30亿美元(多为低附加值的电工仪表、家用水表、气表),国内大型工程选用国外仪表占2/3,而其价格为国产5~10倍,我国大型流量仪表企业主要依靠国外技术,缺乏拥有自主知识产权意识,创新乏力;自动化仪表国产化刻不容缓!
3、品种多,选用要实事求是:
流量仪表品种、类型较多,正确选用并非易事,建议:
(1)不要轻信厂商宣传,厂商为利所图,往往对仪表的技术指标夸大其词,选用时要理性分析这些参数的依据,有无检验证明。
(2)按需选取,勿追求高指标,如不是用于商务计量,贸易核算,准确度要求可以降低,如工控系统的某些场合,检测、监控仪表的重复性、可靠性好就可以了。
(3)全面考虑经济指标,仪表的经济性并非限于一次购买费用,还要考虑安装维修(停产损失),是否节能(长期运行费)等因素。
六、自动化测试系统的设计挑战
测试管理人员和工程师们为了保证交付到客户手中的产品质量和可靠性,在各种应用领域 (从设计验证,经终端产品测试,到设备维修诊断) 都采用自动化测试系统。
他们使用自动测试系统执行简单的“通过”或“失败”测试,或者通过它执行一整套的产品特性测试。
由于设计周期后期产品瑕疵检测的成本呈上升趋势,自动化测试系统迅速地成为产品开发流程中一个重要的部分。
这篇“设计下一代自动化测试”的文章描述了一些迫使工程团队减少测试成本和时间的挑战。
这篇文章还深刻地洞察了测试管理人员和工程师们如何通过建立模块化软件定义型测试系统来克服这些挑战。
这种测试系统在减少总体成本的同时,显著地增加了测试系统的吞吐量和灵活性。
如今的测试工程师们面临着一系列新的压力。
他们所面临的产品设计比前几代更为复杂;为了保持竞争力并满足客户要求,开发周期要求越来越短 ;产品测试成本越来越高,而预算越来越少。
1、不断提高的设计复杂性:如今,测试测量的最明显趋势是器件复杂性不断增加。
例如,消费电子、通信和半导体工业持续要求将数字图象/视频、高保真音频、无线通信和因特网互联性集成到一个单独产品中。
甚至在汽车中都集成了复杂的汽车娱乐和信息系统、安全和早期预警系统,以及车身和发动机上的控制电子装备。
测试系统的设计不仅需要足够灵活地支持对不同产品模型进行广泛的测试,还需要能够进行升级以提供新测试功能所需的更多测试点。
2、更短的产品开发周期:
由于希望不断提高新产品和技术,拥有市场第一个占有率的竞争天性,设计和测试工程团队只能不断的缩短产品开发周期。
总之,只有设计出新的测试策略来减少测试时间,并提高从设计到生产的测试效率,才能更好的为企业服务,自动化仪表才能发挥更大的效能。