...
首页> 外文期刊>Industrial Informatics, IEEE Transactions on >POU-Oriented Unit Testing of IEC 61131-3 Control Software
【24h】

POU-Oriented Unit Testing of IEC 61131-3 Control Software

机译:IEC 61131-3控制软件的面向POU的单元测试

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

摘要

Software testing is an important part of project development. Depending on system type and size, it is performed variously. Unit testing is one of the available approaches that is used to ensure that behavior of small software parts is consistent with requirements. It allows to improve software quality and decrease overall costs. Despite the fact that such an approach is commonly judged as a vital concept, it is not usual in control software. In this paper, the comprehensive approach to test the IEC 61131-3 software using unit tests is presented. It supports to create tests in two ways—either in textual and graphical IEC 61131-3 languages or in the CPTest+ dedicated test definition language. The latter is equipped with many advanced features, such as test fixtures and inclusions, parameterized and analog signal extensions, mock objects, as well as a few kinds of suites. The overall solution runs on the developer and testing station; hence, it does not have significant impact on performance of the control program and tests are more reliable and repeatable. To explain the concept, the simple running example is presented in this paper. The described solution has been introduced in the CPDev engineering environment for programming controllers.
机译:软件测试是项目开发的重要组成部分。根据系统类型和大小,它的执行方式有所不同。单元测试是用于确保小型软件部件的行为与要求一致的可用方法之一。它可以提高软件质量并降低总体成本。尽管事实上这种方法通常被认为是至关重要的概念,但在控制软件中并不常见。本文提出了使用单元测试来测试IEC 61131-3软件的综合方法。它支持以两种方式创建测试-文本和图形IEC 61131-3语言或CPTest +专用测试定义语言。后者具有许多高级功能,例如测试夹具和包含物,参数化和模拟信号扩展,模拟对象以及几种套件。整体解决方案在开发人员和测试站上运行;因此,它不会对控制程序的性能产生重大影响,并且测试更加可靠和可重复。为了解释这个概念,本文给出了一个简单的运行示例。所描述的解决方案已在CPDev工程环境中引入,用于对控制器进行编程。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号