Article information

2022 , Volume 27, ¹ 1, p.88-100

Staroletov S.M., Anureev I.S.

Towards unit testing of event-driven control requirements

Testing is a generally accepted method to control software quality, although it is not completely reliable. Nevertheless, this method integrates extremely well into development environments and continuous integration practices. In this paper, we briefly review the behavioral patterns that we have previously developed for the logical description of the programmable logic controllers (PLC) operations using tabular properties. We also present a diagram for the checking algorithm of a bounded model to investigate the feasibility of such properties. We describe how to implement the terms and formulas that provide the behavior patterns of PLC programs in an object-oriented programming language (C++ in this case). After the black box assessment for the values of the control variables for inputs and outputs of the system has been set, we show how convenient it is to describe the requirements in the form of our instantiated classes. This description allows integrating the unit testing process for the checking requirements of the PLC programs.

[full text]
Keywords: requirements engineering, unit testing, control software, PLC

Author(s):
Staroletov Sergey Mikhailovich
PhD.
Position: Senior Research Scientist
Office: Institute of Automation and Electrometry, Siberian Branch of the Russian Academy of Sciences
Address: 630090, Russia, Novosibirsk, 1, Acad. Koptyug av
E-mail: serg_soft@mail.ru
SPIN-code: 6234-9127

Anureev Igor Sergeevich
PhD.
Position: Senior Research Scientist
Office: Institute of Automation and Electrometry, Siberian Branch of the Russian Academy of Sciences
Address: 630090, Russia, Novosibirsk, 1, Acad. Koptyug av
E-mail: anureev@gmail.com
SPIN-code: 9855-2228


Bibliography link:
Staroletov S.M., Anureev I.S. Towards unit testing of event-driven control requirements // Computational technologies. 2022. V. 27. ¹ 1. P. 88-100
Home| Scope| Editorial Board| Content| Search| Subscription| Rules| Contacts
ISSN 1560-7534
© 2024 FRC ICT