首页 | 本学科首页   官方微博 | 高级检索  
     检索      

基于UML状态图的列控中心软件测试路径生成方法
引用本文:王秀玄.基于UML状态图的列控中心软件测试路径生成方法[J].铁路计算机应用,2016,25(8):9-13.
作者姓名:王秀玄
作者单位:西南交通大学 信息科学与技术学院, 成都 611756
摘    要:针对列控中心测试,介绍了基于UML状态图的列控中心测试路径生成方法。根据列控中心需求规范建立UML状态图模型;采用改进的深度优先搜索算法(DFS)自动搜索有向图得到从初始节点到终止节点的所有路径集合,利用贪心算法构造超串合并测试需求;利用路径集合扩展测试需求集合,最终实现测试路径自动生成;以列控中心改变区间运行方向功能为例,给出测试路径生成方法实现。

关 键 词:测试路径    UML状态图    列控中心    深度优先搜索    超串
收稿时间:2016-01-12

Method of software test paths generation for train control center based on UML state chart diagram
Institution:School of Information Science and Technology, Southwest Jiaotong University, Chengdu 611756, China
Abstract:Aiming at testing train control center (TCC), this article introduced the method of test paths generation for TCC based on UML state chart diagram. The UML state chart diagram model was established on the requirement specification of TCC. An improved Depth First Search (DFS) Algorithm was used to automatically search the directed graph, and get all paths from the initial node to the end node. The Greedy Algorithm was used to construct the test requirement of super string merging, and the path set was used to extend test requirements set. Finally, the automatic generation of test path was implemented. Taking changing running direction in sections of TCC for example, the implementation of test path generation method was given.
Keywords:
点击此处可从《铁路计算机应用》浏览原始摘要信息
点击此处可从《铁路计算机应用》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号