期刊文献+

基于路径优化算法的测试序列自动生成及验证 被引量:14

Automated Generation of Test Cases and Sequences Based on Path Optimization Algorithm
下载PDF
导出
摘要 随着中国铁路运行控制系统的高速发展,列控系统行为功能的正确性与安全性成为业内关注的焦点,本文提出一套完整的测试案例与测试序列自动化生成的方法。制定与系统CPN模型、测试序列相关的定义;利用本文提出的全路径覆盖优化算法和序列优选算法生成XML测试序列;以CTCS-3级列控系统下RBC的切换为例,自动生成测试案例与测试序列,并在RBC测试平台上进行验证。结果表明:本文提出的测试生成方法可实现测试的自动化,针对RBC切换场景生成的测试序列重复度降低了75%,完全覆盖《CTCS-3级列控系统功能需求规范》中的相关内容。 Along with rapid development of the China train operation and control system, validity and safety of behavioral functions of the system have attracted much attention in the railway industry. In this paper an auto- mated method to generate a complete set of test cases and test sequences was put forward. Definitions relating to the CPN model and test sequences of the system were given. The all paths covered optimization algorithm (APCO) and the sequence priority selected algorithm (SPS) were presented to automatically generate the XML test sequences. Taking radio blocking center (RBC) handover of the Chinese Train Control System Level 3 (CTCS-3)as an example, test cases and test sequences were generated automatically and verified on the RBC test platform. The results indicate that the test generation achieves the goal of automation, and the repeatability rate of the test sequences generated in the scenario of RBC handover is reduced by 75% compared with the a vailable depth-first search algorithm (DFS), thus covering all the related criterions specified in the CTCS-3 Function Requirements Specifications (FRS).
出处 《铁道学报》 EI CAS CSCD 北大核心 2013年第6期53-58,共6页 Journal of the China Railway Society
基金 国家高技术研究发展计划(863计划)(2011AA010104) 中央高校科研业务费专项资金(2011JB2004)
关键词 有色PETRI网 全路径覆盖优化算法 序列优选算法 自动化测试 CPN APCO algorithm SPS algorithm automated testing
  • 相关文献

参考文献9

  • 1赵显琼,唐涛.多端口形式化测试自动生成方法在CTCS-3车载系统中的应用[J].铁道学报,2011,33(7):44-51. 被引量:10
  • 2WATANABE H, KUDOH T. Test Suite Generation Methods for Concurrent Systems Based on Colored Petri Nets[C]//Software Engineering Conference, 1995.. 242- 251.
  • 3何欢,徐中伟,喻钢,杨世玉.基于XML的安全苛求系统测试脚本生成[J].计算机应用,2011,31(1):281-285. 被引量:3
  • 4LIANG C, ZHENG W. Automated Generation of Test Ca- ses Based on Path Optimization Algorithm[C]// Proceed ings of the 2012 International Conference on Information Technology and Software Engineering Lecture Notes in E lectrical Engineering,2013, 212: 205-213.
  • 5JENSEN K. Colored Petri Nets :Basic Concepts, Analysis Methods and Practical Use [M]. Berlin: Springer-Verlag, 1997.
  • 6BADBAN B, FRANZLE M, TEIGE T. Test Automation for Hybrid Systems [C]//Proceedings of the Third Inter- national Workshop on Software Quality Assurance, 2006: 14-21.
  • 7中华人民共和国铁道部.CTCS-3级列控系统功能需求规范(FRS)[S].北京:中国铁道出版社,2008.
  • 8中华人民共和国铁道部.CTCS-3级列控系统测试案例[S].北京:中国铁道出版社,2009.
  • 9中华人民共和国铁道部.CTCS-3级列控系统系统需求规范(SRS)[S].北京:中国铁道出版社,2008.

二级参考文献20

  • 1陈伟,薛云志,赵琛,李明树.一种基于时间自动机的实时系统测试方法[J].软件学报,2007,18(1):62-73. 被引量:14
  • 2NEIL S. Safety critical computer systems [ M]. Boston: Addison Wesley, 1996:274-295.
  • 3JOHNSON D J, ROSELLI P. Using XML as a flexible, portable test script language [C]//AUTOTESTCON 2003: IEEE Systems Readiness Technology Conference. New York: IEEE, 2003:187 - 192.
  • 4DERDERIAN K, HIERONS R M, HARMAN M, et al. Automated unique input output sequence generation for conformance testing of FSMs[J]. Computer Journal, 2006, 49(3) : 331 -344.
  • 5WALTON G H, POORE J H. Generating transition probabilities to support model-based software testing[J]. Software: Practice and Experience, 2000, 30(10) : 1095 - 1106.
  • 6EICHENBERGER P. Using ETCS for the purpose of increasing capacity[ J]. Railway Technical Review, 2007, 47(2) : 57 -61.
  • 7WEGENER J, STHAMER H, JONES B F, et al. TestingReal-time Systems Using Genetic Algorithms[J]. Software Quality Journal,1997,(6):127-135.
  • 8CHART 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.
  • 9SIDHU D P,LEUNG T. Formal Methods for Protocol Tes ting[J]. IEEE Transaction on Software Engineering, 1989,15(4) :413-426.
  • 10FUJIWARA S, BOCHMARM G V. Test Selection Based on Finite State Models[J]. IEEE Transaction on Software Engineering,1991,17(6) :591 603.

共引文献11

同被引文献98

引证文献14

二级引证文献51

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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