摘要
高速磁悬浮中央控制子系统是列车安全运行的重要保证,在投入使用前必须进行系统测试验证。针对中央控制子系统测试未形成比较系统的测试用例的问题,提出了基于UML模型的测试用例生成方法,基于提取的系统功能特征,对中央控制子系统的运行场景进行划分,并分别使用UML中的用例图、状态图、活动图和顺序图对系统运行过程进行建模,最终依据建模图生成测试用例,并将测试用例在搭建的半实物实验室测试平台中进行执行。结果表明,生成的测试用例可以充分地模拟出运行现场所可能出现的各种常见情况,有效提升系统测试质量。
The high speed maglev Centralised Control System(CCS)is very critical as an assurance for the safety of maglev train,so it is necessary to test the system before put into use.Currently,according to the knowledge of authors,there is limited systematic test cases for CCS.In the light of this,the generation of test case of CCS using Unified Modeling Language(UML)is proposed in this paper,and the scenes of operation process of CCS are divided based on the function features.Then the corresponding UML models,use case diagram,state diagram,activity diagram and sequence diagram,are developed,and according to these models,the test cases of the specified case are generated.At last,the generated test cases are all executed in the developed lab-test system.The results show that the generated test cases can fully simulate the common situations of the operation scene,and effectively improve the test efficiency and test quality.
作者
赵文文
Zhao Wenwen(China Railway First Survey and Design Institute Group Co.,Ltd.,Xi’an 710043,China)
出处
《山西建筑》
2021年第9期113-116,共4页
Shanxi Architecture