作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2011, Vol. 37 ›› Issue (01): 69-71. doi: 10.3969/j.issn.1000-3428.2011.01.024

• 软件技术与数据库 • 上一篇    下一篇

基于接口参数的列控中心测试用例生成算法

张 盛,徐中伟,喻 钢,杨世玉   

  1. (同济大学电子与信息工程学院,上海 201804)
  • 出版日期:2011-01-05 发布日期:2010-12-31
  • 作者简介:张 盛(1985-),男,硕士研究生,主研方向:安全软件测试评估;徐中伟,教授;喻 钢,博士研究生;杨世玉,硕士研究生
  • 基金资助:
    国家自然科学基金资助项目(60674004);铁道部科技研究开发计划基金资助项目(2007X003)

Generation Algorithm of Train Control Center Test Case Based on Interface Parameters

ZHANG Sheng, XU Zhong-wei, YU Gang, YANG Shi-yu   

  1. (College of Electronics and Information Engineering, Tongji University, Shanghai 201804, China)
  • Online:2011-01-05 Published:2010-12-31

摘要: 在接口参数两两组合全面覆盖理论的基础上,提出一种基于树型结构的改进测试用例生成算法。该算法综合考虑外部接口参数和取值组合所产生的系统影响,具有一定的通用性及稳定性,并且在时间复杂度及空间复杂度上较以往的算法都有所改进。算法在CTCS2级列控中心的接口测试中取得了很好的效果,测试质量和测试效率均得到提高。

关键词: 软件测试, 黑盒测试, 列控中心, 树型模型, 测试用例

Abstract: In order to improve test quality and test efficiency, the developed tree model test case generation algorithm is raised based on the theory of covered pair-wise combination of all the interface parameters, which considers the system influence of the extern interfaces and all possible values comprehensively. It is proved that the time complexity and space complexity of the algorithm are effectively reduced. By means of the test analysis on CTCS-2 train control center software test platform, the test efficiency and quality can be improved greatly by the algorithm.

Key words: software test, black-box test, train control center, tree model, test case

中图分类号: