摘要
城轨联锁中进路数据量大,测试工作繁重,为提高城轨联锁系统测试效率,缩短项目工程测试时长,提出一种基于关键字驱动的城轨联锁通用自动测试脚本设计方法。该方法以灰盒测试为思想,通过建立关键字表及通用测试序列实现脚本与测试数据的独立,以联锁表、接口码位表、数据功能列表为测试输入与关键字表建立映射,通用测试序列采用非编程语言描述测试步骤,通过联锁自动测试平台将通用测试序列实例化为可执行的测试脚本。该方法已多次应用在城轨项目联锁功能测试中,通用测试序列可覆盖80%联锁功能测试点。与人工测试相比测试正确率可达100%,验证了此方案的有效性,可为城轨联锁功能自动测试方案提供参考。
The amount of route data in urban rail interlocking is large and the test work is heavy.In order to improve the test efficiency of urban rail interlocking system and shorten the project engineering test time,a keyword-driven universal automatic test script design method for urban rail interlocking is proposed.The method takes gray box testing as the idea,realizes the independence of script and test data by establishing a keyword table and a general test sequence,and establishes a mapping between test inputs and the keyword table using an interlock table,an interface code bit table,and a data function list.The general test sequence uses a non-programming language to describe the test steps,and the general test sequence is instantiated into an executable test script through an interlock automatic test platform.This method has been applied in interlocking function testing of urban rail projects many times,and the common test sequence can cover 80%of interlocking function test points.Compared with manual testing,the test accuracy rate can reach 100%,which verifies the effectiveness of this scheme and provides a reference for the automatic testing scheme of urban rail interlocking functions.
出处
《科技创新与应用》
2025年第35期122-127,共6页
Technology Innovation and Application
基金
卡斯柯信号有限公司开发项目(RA.11119002)。
关键词
城轨联锁系统
通用性
灰盒测试
功能测试
关键字驱动
urban rail interlocking system
versatility
gray box test
functional test
keyword driving