基于状态转移图的箭载软件时序控制测试用例生成方法
DOI:
作者:
作者单位:

宇航智能控制技术国家级重点实验室

作者简介:

通讯作者:

中图分类号:

基金项目:


A Method for Generating Timeline Control Test Cases Based on State Transfer Graph
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    为提升箭载嵌入式软件测试的效率和质量,本文专门针对箭载软件时序控制这一测试需求,提出了一种基于状态转移图的测试用例自动生成算法设计方法。具体分析步骤为首先分析时序控制特性,其次选取状态转移图来表征,自定义所需图元属性以及图元关系、触发条件全面性与一致性的约束条件从而保证模型合理性;再次采用基路径覆盖、转移对覆盖、条件元覆盖三种覆盖准则相结合方式实现测试用例的自动生成;最后以某箭上软件全飞行周期时序控制为基础,多次结果表明该方法生成的软件测试用例可完全覆盖时序控制功能和性能需求,验证了方法的有效性和稳定性,可为箭载软件自动化测试工程化实践提供一定的借鉴。

    Abstract:

    In order to improve the efficiency and quality of the embedded software test, this paper proposes a design method for automatic generation of test cases based on state transition graph to test arrow software timing control. The timing control characteristics are analyzed firstly. Then the state transition diagram is selected to represent, the required primitive attributes ,the primitive relationship, the trigger condition comprehensiveness and consistency constraints are customized to ensure the rationality of the model. Finally, automatic generation of test cases are realized by combining the three coverage criteria of base path coverage, transfer coverage and conditional element coverage. Taking the software"s full flight cycle timing control as an example, the results show that the software test cases generated by this method can completely cover the timing control function and performance requirements. The results also verify the validity and stability of the method, which can provide some reference for the engineering practice of the automated test of the arrow.

    参考文献
    相似文献
    引证文献
引用本文

汪冬瑾,张舒.基于状态转移图的箭载软件时序控制测试用例生成方法计算机测量与控制[J].,2020,28(8):32-35.

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2019-11-14
  • 最后修改日期:2019-12-22
  • 录用日期:2019-12-23
  • 在线发布日期: 2020-08-13
  • 出版日期:
文章二维码