期刊文献+

基于接口自动机的列车通信设备测试用例生成

Test Case Generation for Train Communication Devices Based on Interface Automata
下载PDF
导出
摘要 列车通信设备是一种嵌入式系统。有效地测试这类设备是列车运行系统质量保证的重要手段。嵌入式系统测试的重要任务之一是有效地生成测试用例。文中提出基于接口自动机(Interface Automata)技术自动生成列车通信设备的测试用例。现有的接口自动机技术只支持同步消息的发送与接收,而列车通信设备还需要处理异步消息的发送与接收。为此,文中对接口自动机理论进行了扩展,以便支持列车通信设备异步消息通信的需求。依据列车通信网络的规范,文中使用扩展了的接口自动机对列车通信模块及通信模块的组合作了形式化建模,依据测试覆盖准则,自动生成测试序列,并利用模型驱动技术自动生成测试脚本。文中比较了手工生成测试用例方法及所提出的自动生成测试用例技术,展示后者从测试覆盖、时间节约方面的有效性。 Train communication network device is a kind of embedded systems. Software testing has been still an effective way to assure the quality of train communication network device. One of the most critical tasks for embedded system testing is how to generate test cases effectively. Present a test-case generation approach that is based on interface automata. Currently, interface automata simply supports sending and receiving of messages synchronously, which is incompatible with the mode of message handling of train communication net- work. Therefore, propose a way to extend interface automata to support the demand of asychronous message communication for train com- munication device; model the communication components of the train communication network and their interactions; with this model, gen- erate test sequences according to test coverage criteria, and produce test scripts automatically. Finally, compare the approach proposed with manual test-case generation,and show the efficiency and the effectiveness in test coverage.
出处 《计算机技术与发展》 2013年第5期1-5,共5页 Computer Technology and Development
基金 国家自然科学基金资助项目(60973001) 2012年"AutoTest软件系统测试"项目
关键词 嵌入式系统 列车通信网络 接口自动机 embedded systems train communication network interface automata
  • 相关文献

参考文献11

二级参考文献71

  • 1蒋屹新,林闯,曲扬,尹浩.基于Petri网的模型检测研究[J].软件学报,2004,15(9):1265-1276. 被引量:20
  • 2胡军,于笑丰,张岩,王林章,李宣东,郑国梁.基于场景规约的构件式系统设计分析与验证[J].计算机学报,2006,29(4):513-525. 被引量:40
  • 3THANE H. Monitoring, testing and debugging of distributed realtime Systems [ EB/OL]. [2009 - 01 - 01]. http://www. mrtc. mdh. se/publications/0242. pdf.
  • 4刘斌.软件可靠性测试研究[R].北京:北京航空航天大学工程系统工程系,2002.
  • 5D M Cohen , S R Dalal , M L Fredman, and G C Patton.The Combinatorial Design Approach to Automatic Test Generation[J]. IEEE Software, sept. 1996 , 13(5):83-89.
  • 6D M Cohen, S R Dalal, M L Fredman, and G C Patton.The AETG System : An Approach to Testing Based on Combinatorial Design[J].IEEE Trans. Software Eng, July 1997, 23(7):437-443.
  • 7Y lei and K C Tai. In- Parameter- order : A Test Generation Strategy for Pairwise Testing[ R]. Technical Report TR - 2002 - 03 , Dept. of Computer Science , North Carolina State Univ., Raleigh , North Carolina, Mar.2001.
  • 8R Mandl. Orthogonal Latin Squares : An Application of Experimental Design to Compiler Testing[C]. Comm.ACM, Oct.1985 , 28 (10):1054- 1058.
  • 9A W Williams and R L Probert.A Praticai Strategy for Testing Pairwise Coverage of Network interfaces[C]. Proc. IEE Int'l symp. Software Reliability Eng., 1996:246-254.
  • 10陈光禹 潘中良.可测试性设计技术[M].北京:电子工业出版社,1997..

共引文献81

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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