期刊文献+

列控中心自动化测试测试用例生成方法 被引量:2

Generation method of test cases for automated testing of TCC
下载PDF
导出
摘要 为了提高列控中心自动化测试的效率和质量,研究带有通信时机测试用例的生成方法.首先,通过扩展确定性有限状态机的输入输出动作,构建带有输入输出时间的确定性有限状态机模型,并利用改进的广度优先搜索生成测试路径,形成抽象测试集.然后,利用边界值分析将测试路径中的时间约束离散化,并利用提出的控制条件覆盖测试生成算法生成测试用例.最后,以列控中心改变运行方向场景为例,生成测试用例.结果表明:采用所提出方法生成的测试用例可以有效表达接口通信的内容和时机.为列控中心自动化测试用例的自动生成提供重要的方法支撑. In order to improve the test efficiency and test quality for automated testing of TCC, the generation method of the test case with communication time is studied by using model based testing. Firstly, the deterministic finite state machine model with input and output time is built by extending the input and output action of deterministic finite state machine. Then test paths that constitute abstract test set are generated by the improved breadth first search. Secondly, using boundary value analysis makes the time constraints in the test paths discrete. Then test cases are generated by using the control condition coverage test generation algorithm proposed in this paper. Finally, the changing direction scenario of TCC is taken as an example to generate test cases. The results show that the test cases generated by the method described in this paper can effectively express the content and time of interface communication. And it can provide significant method support for test cases automatic generation in automated testing of TCC.
作者 王硕 张亚东 郭进 李耀 兰浩 WANG Shuo;ZHANG Yadong;GUO Jin;LI Yao;LAN Hao(School of Information Science and Technology,Southwest Jiaotong University,Chengdu 611756,China;School of Optoelectronic Science and Engineering,University of Electronic Science and Technology,Chengdu 611731,China)
出处 《北京交通大学学报》 CAS CSCD 北大核心 2020年第5期49-54,共6页 JOURNAL OF BEIJING JIAOTONG UNIVERSITY
基金 国家自然科学基金(61703349) 中央高校基本科研业务费专项资金(2682017CX101) 中国铁路总公司科技研究开发计划(N2018G062)。
关键词 列控中心 自动化测试 测试路径 测试用例 基于模型的测试 TCC automated testing test paths test cases model based testing
  • 相关文献

参考文献5

二级参考文献45

  • 1牟小玲,丁晓明,张望.基于Petri网的测试用例生成研究进展[J].重庆交通大学学报(自然科学版),2012,31(1):163-167. 被引量:4
  • 2张仕雄.CTCS-3级列控系统测试序列合理性验证的研究[J].铁道标准设计,2012,32(12):103-105. 被引量:2
  • 3陈伟,薛云志,赵琛,李明树.一种基于时间自动机的实时系统测试方法[J].软件学报,2007,18(1):62-73. 被引量:14
  • 4WEGENER J, STHAMER H, JONES B F, et al. TestingReal-time Systems Using Genetic Algorithms[J]. Software Quality Journal,1997,(6):127-135.
  • 5CHART Vuong C T, OTP M R. An Improved Protocol Test Generation Procedure Based on UIOS[C]// Proceedings of Communications Architectures & Protocols. New York:ACM Press,1989: 283-294.
  • 6SIDHU D P,LEUNG T. Formal Methods for Protocol Tes ting[J]. IEEE Transaction on Software Engineering, 1989,15(4) :413-426.
  • 7FUJIWARA S, BOCHMARM G V. Test Selection Based on Finite State Models[J]. IEEE Transaction on Software Engineering,1991,17(6) :591 603.
  • 8HESSEL Anders, LARSEN Kim G, Mikucionis Marius. Testing Real time Systems Using UPPAAL[C]//Lecture Notes in Computer Science,2008: 77-117.
  • 9BAHAREH Badban, MARTIN Franzle, TINO Teige. Test Automation for Hybrid Systems[C]//Proceedings of the Third International Workshop on Software Quality As suranee, 2006 : 14-21.
  • 10HIGASHINO T, NAKAT A, TANIGUCHI K, CAVAL LI A R. Generating Test Cases for a Timed I/O Automa ton ModeI[C]//CSOPAKI G, DIBUZ S, TARNAY K. Proceedings of IFIP Int'l Work. Test. Communicat. Syst. (IWTCS), 1999: 197-214.

共引文献45

同被引文献29

引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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