期刊文献+

一种嵌入式软件自动测试的脚本语言 被引量:5

A Scripting Language for Embedded Software Automatic Test
下载PDF
导出
摘要 为了提高黑盒自动化测试的人机交互便捷性以及测试用例的可维护性,文章设计了一种基于自然语言的脚本语言,通过设计用例模型和用例描述规则,实现使用自然语言作为用例脚本的描述语言并建立脚本解析机制,将自然语言描述的测试过程转化为计算机可以识别和执行的信息;基于所建立的用例模型,采用嵌套执行用例的方法,解决了功能模块相互影响导致测试结果不确定的问题。建立了一套用于机车安全设备的自动测试系统进行验证,结果表明,该方法能满足自然语言编写的测试脚本输入以及复杂耦合关联功能的测试要求。 In order to improve the convenience of human-computer interaction and the maintainability of test cases in black-box automated testing, a script language based on natural language was proposed in this paper. By designing the use-case model and the usecase description rules, use cases can be described with natural language, and the script parsing mechanism is established to transform the test process described by natural language into information that can be understood and execute by computer. In addition, based on the established use-case model, nested execution of use cases is used to solve the problem of uncertainty of test results caused by the interaction of functional modules. This method is validated by establishing an automatic test system for safety equipment of train, which satisfies the input of test scripts written in natural language and the test of complex coupling and correlation functions.
作者 龙小奇 张家欢 唐林 陈泽华 蒋鹏 LONG Xiaoqi;ZHANG Jiahuan;TANG Lin;CHEN Zehua;JIANG Peng(Hunan CRRC Times Signal&Communication Co.,Ltd.,Changsha,Hunan 410005,China)
出处 《控制与信息技术》 2019年第3期48-51,55,共5页 CONTROL AND INFORMATION TECHNOLOGY
关键词 自然语言 脚本 一阶谓词 软件可维护性 自动测试系统 natural language script first-order predicate software maintainability automatic test system
  • 相关文献

参考文献6

二级参考文献37

共引文献60

同被引文献33

引证文献5

二级引证文献9

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部