首页> 外文学位 >Towards DO-178C compatible tool design
【24h】

Towards DO-178C compatible tool design

机译:迈向兼容DO-178C的工具设计

获取原文
获取原文并翻译 | 示例

摘要

In software development, testing often takes more than half the total development time (Pan 1999). Test case design and execution of test procedures consume most of the testing time. Thus, automatically generating test cases and automatically detecting errors in test procedures prior to execution is highly advantageous. This thesis proposes a new approach to further automate test case design and the test procedure development process.;Several open-source products exist to automate test case design, but they have limitations including test cases that do not trace back to models; test cases that are not reusable for libraries; and limiting test cases to generation on their own test environment. This limits their support for the important, new avionics standard, DO-178C (RTCA 2012).;The first contribution of the thesis is a technique for test code generation that, compared to existing products, is faster, provides improved traceability to models, and supports reusable test procedures that can be generated on any testing environment. To address the current limitations, the new approach utilizes the Simulink Design Verifier and an open-source constraint solver to generate test cases. The technique allows each test case to be traced back to an expression and to the original model.;Detecting errors in manually written test procedures before testing starts is also critical to efficient verification. It can save hours or even days if errors are detected in the early test procedure design stage. However, analysis done here of a set of open source code analysis tools shows that they cannot detect type and attribute errors effectively.;The second contribution of the thesis is to develop a static code analyzer for Python code that detects bugs that could cause automated test procedures to crash. The analyzer converts a Python code to an abstract syntax tree and detects all type and attribute errors by performing a type-flow analysis. This approach provides improved accuracy over existing products.;Together, these two contributions, a test code generator with improved traceability and reusability, and a static code analyzer capable of handling more error types, can improve test process compatibility with DO-178C.
机译:在软件开发中,测试通常花费总开发时间的一半以上(Pan 1999)。测试用例的设计和测试过程的执行消耗了大部分测试时间。因此,在执行之前自动生成测试用例并自动检测测试过程中的错误是非常有利的。本文提出了一种进一步自动化测试用例设计和测试过程开发过程的新方法。现有几种开源产品可以使测试用例设计自动化,但是有一些局限性,包括不能追溯到模型的测试用例;不可用于库的测试用例;并将测试用例限制在自己的测试环境中生成。这限制了他们对重要的新航空电子标准DO-178C(RTCA 2012)的支持。论文的第一个贡献是一种用于生成测试代码的技术,与现有产品相比,该技术更快,可为模型提供更好的可追溯性,并支持可在任何测试环境中生成的可重用测试程序。为了解决当前的局限性,新方法利用Simulink Design Verifier和开放源代码约束求解器来生成测试用例。该技术允许将每个测试用例追溯到一个表达式和原始模型。在测试开始之前检测手动编写的测试过程中的错误对于有效验证也至关重要。如果在早期测试程序设计阶段发现错误,则可以节省数小时甚至数天。但是,这里对一组开源代码分析工具所做的分析表明,它们不能有效地检测类型和属性错误。论文的第二个贡献是为Python代码开发了一个静态代码分析器,该工具可以检测可能导致自动测试的错误。程序崩溃。分析器将Python代码转换为抽象语法树,并通过执行类型流分析来检测所有类型和属性错误。这种方法相对于现有产品提供了更高的准确性。两者合在一起,具有改进的可追溯性和可重用性的测试代码生成器,以及能够处理更多错误类型的静态代码分析器,可以改善测试过程与DO-178C的兼容性。

著录项

  • 作者

    Xu, Yijia.;

  • 作者单位

    Iowa State University.;

  • 授予单位 Iowa State University.;
  • 学科 Computer science.
  • 学位 M.S.
  • 年度 2015
  • 页码 70 p.
  • 总页数 70
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号