欢迎访问铁路通信信号工程技术,今天是 English

铁路通信信号工程技术 ›› 2025, Vol. 22 ›› Issue (4): 19-24,57.DOI: 10.3969/j.issn.1673-4440.2025.04.003

• • 上一篇    下一篇

SCADE模型测试下最小测试用例集路径生成算法

夏 苗,陈泽华   

  1. 北京全路通信信号研究设计院集团有限公司,北京 100070
  • 收稿日期:2024-08-18 修回日期:2025-03-03 出版日期:2025-04-25 发布日期:2025-04-25
  • 基金资助:
    国家自然科学基金项目(52272328)

Minimal Test Case Set Path Generation Algorithm in SCADE Model Testing

Xia Miao,  Chen Zehua   

  1. CRSC Research & Design Institute Group Co., Ltd., Beijing   100070, China
  • Received:2024-08-18 Revised:2025-03-03 Online:2025-04-25 Published:2025-04-25

摘要: 根据在安全关键应用开发环境(Safety Critical Application Development Environment,
SCADE)下,对采用Masking Modified Condition/Decision Coverage(MC/DC)准则的A级软件,如何快速生成最小测试用例集,总结出路径生成算法。针对零耦合条件、弱耦合条件、强耦合条件的输入,可使用一套算法完成最小测试用例集的设计,充分提高测试人员效率。并引入路径的概念,帮助测试人员加深对测试覆盖率全面性的理解。

关键词: SCADE, MC/DC, 测试用例, 耦合条件, 路径生成算法

Abstract: This paper summarizes the path generation algorithm designed to quickly generate the minimum test case set for Class A software that adopts Masking MC/DC criteria in Safety Critical Application Development Environment. For the inputs under zero coupling conditions, weak coupling conditions and strong coupling conditions, a set of algorithms can be used to complete the design of the minimum test case set, which can fully improve the efficiency of testers. The concept of “path” is introduced to help testers understand the comprehensiveness of test coverage.

Key words: SCADE, Modified Condition/Decision Coverage(MC/DC), test case, coupling condition, path generation algorithm

中图分类号: