首页> 外文OA文献 >Automating test generation for discrete event oriented real-time embedded systems
【2h】

Automating test generation for discrete event oriented real-time embedded systems

机译:面向离散事件的实时嵌入式系统的自动化测试生成

摘要

The purpose of this work is to provide a method for the automatic generation of test scenarios from the behavioral requirements of a system. The goal of the generated suite of test scenarios is to allow the system design to be validated against the requirements. The benefits of automatic test generation include improved efficiency, completeness (coverage), and objectivity (removal of human bias). The Model-based Codesign method is refined by defining a design process flow. This process flow includes the generation of test suites from requirements and the application of these tests across multiple levels of the design path. An approach is proposed that utilizes what is called a requirements model and a set of four algorithms. The requirements model is an executable model of the proposed system defined in a deterministic state-based modeling formalism. Each action in the requirements model that changes the state of the model is identified with a unique requirement identifier. The scenario generation algorithms perform controlled simulations of the requirements model in order to generate a suite of test scenarios applicable for black box testing. A process defining the generation and use of the test scenarios is developed. This process also includes the treatment of temporal requirements which are considered separately from the generation of the test scenarios. An algorithm is defined to combine the test scenarios with the environmental temporal requirements to produce timed test scenarios in the IEEE standard C/ATLAS test language. An algorithm is also defined to describe the behavior of the test environment as it interprets and applies the C/ATLAS test programs. Finally, an algorithm to analyze the test results logged while applying the test scenario is defined. Measurements of several metrics on the scenario generation algorithms have been collected using prototype tools. The results support the position that the algorithms are performing reasonably well, that the generated test scenarios are adequately efficient, and that the processing time needed for test generation grows slowly enough to support much larger systems.
机译:这项工作的目的是提供一种根据系统的行为要求自动生成测试方案的方法。生成的测试方案套件的目标是允许根据需求验证系统设计。自动生成测试的好处包括提高了效率,完整性(覆盖率)和客观性(消除了人为偏差)。通过定义设计流程来完善基于模型的协同设计方法。该处理流程包括根据需求生成测试套件,以及这些测试在设计路径的多个级别上的应用。提出了一种利用所谓的需求模型和一组四个算法的方法。需求模型是在确定性基于状态的建模形式主义中定义的所提出系统的可执行模型。需求模型中用于更改模型状态的每个动作均由唯一的需求标识符标识。场景生成算法执行需求模型的受控模拟,以便生成适用于黑盒测试的一组测试场景。开发了定义测试方案生成和使用的过程。此过程还包括对时间要求的处理,这些时间要求与测试方案的生成分开考虑。定义了一种算法,将测试方案与环境时间要求结合起来,以IEEE标准C / ATLAS测试语言生成定时测试方案。还定义了一种算法来描述测试环境在解释和应用C / ATLAS测试程序时的行为。最后,定义了一种在应用测试方案时分析记录的测试结果的算法。已使用原型工具收集了有关场景生成算法的多个指标的度量。结果支持以下论点:算法性能相当好,生成的测试场景足够有效,并且生成测试所需的处理时间增长得足够慢以支持更大的系统。

著录项

  • 作者

    Cunning Steven J. 1963-;

  • 作者单位
  • 年度 2000
  • 总页数
  • 原文格式 PDF
  • 正文语种 en_US
  • 中图分类

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号