Russian Federation
Russian Federation
Russian Federation
VAK Russia 2.3.6
UDC 622.62
Automated testing of technological software for computer-based interlocking systems is of critical importance in ensuring the safety of railway traffic. Introduction: as the CBI software components become more complex, so manual testing methods are no longer adequate. Purpose: to develop an automated testing system for the CBI software based on a scripting approach that ensures the overall verification of functional requirements and the correctness of the algorithms. Methods: a hybrid approach combining the Lua scripting language for describing test scenarios, a virtual environment for simulating the operation of outdoor equipment, automatic test generation, and the integration with an expert protocol analysis system. Results: a modular testing system that includes a library of test scripts, an interpreter with a specialized API for interacting with the computer software, and automatic validation mechanisms have been designed. Practical significance: the approach demonstrated its effectiveness in real CBI configurations. The development directions have been outlined as follows: integration with CI/CD and expansion of coverage with fault tolerance tests. Discussion: the research has revealed the advantages of the script approach. These include the independence of tests from a specific station and the possibility of reusing scripts.
microproccessor interlocking, technological software, automated testing, script tests, railway automation, Lua programming language, virtual environment
1. Markov D. S., Nasedkin O. A., Vasil’ev D. A., Butuzov M. A. Ponyatiynyy apparat ekspertizy i ispytaniy na bezopasnost zheleznodorozhnoy avtomatiki [Definitions and Terminology of Expertise and Testing of Railway Automation for Safety], Avtomatika na transporte [Automation on Transport], 2018, Vol. 4, No. 1, Pp. 30–45. (In Russian) EDN: https://elibrary.ru/UPOUIG
2. GOST 33894—2016. Sistemy zheleznodorozhnoy avtomatiki i telemekhaniki na zheleznodorozhnykh stantsiyakh. Trebovaniya bezopasnosti i metody kontrolya [GOST 33894—2016. Railway automatics and telemechanics systems on railway stations. Safety requirements and methods of checking]. Effective from November 01, 2017. Moscow, StandartInform Publishing House, 2017, 29 p. (In Russian)
3. Nasedkin O. A., Vasilyev D. A., Belous A. M. Metodicheskoe i tekhnicheskoe obespechenie ispytaniy mikroprotsessornykh system [Methodological and technical support for testing microprocessor systems], Avtomatika, svyaz, informatika [Automation, Communications, Informatics], 2013, No. 12, Pp. 23–27. (In Russian) EDN: https://elibrary.ru/RQOGVZ
4. Myers G. J., Badgett T., Sandler C. Iskusstvo testirovaniya programm. Tretye izdanie [The Art of Software Testing. Third Edition]. Moscow, Williams Publishing House, 2012, 272 p. (In Russian) EDN: https://elibrary.ru/QMXKET
5. Beizer B. Testirovanie chernogo yashchika. Tekhnologii funktsionalnogo testirovaniya programmnogo obespecheniya i sistem [Black-Box Testing. Techniques for Functional Testing of Software and Systems]. Saint Petersburg, Piter Publishing House, 2004, 318 p. (In Russian)
6. Kotlyarov V. P., Kolikova T. V. Osnovy testirovaniya programmnogo obespecheniya: uchebnoe posobie [Fundamentals of Software Testing: a tutorial]. Moscow, INTUIT, BINOM. Laboratoriya znaniy, 2006, 285 p. (In Russian) EDN: https://elibrary.ru/QMPTAH
7. Vasiliev D. A., Ghizler S. V., Nasedkin O. A., Shaifer M. P. Ekspertnaya programma dlya provedeniya ispytaniy tekhnologicheskogo programmnogo obespecheniya sistem mikroprotsessornoy tsentralizatsii [The Expert Program for Computer Based Interlocking Application Software Test], Razvitie elementnoy bazy i sovershenstvovanie metodov postroeniya ustroystv zheleznodorozhnoy avtomatiki i telemekhaniki: sbornik nauchnykh trudov [Component Base Development and Railway Automation and Remote Control Devices Design Methods Improvement: Scientific Proceeding]. Saint Petersburg, St. Petersburg State Transport University, 2014, Pp. 39–42. (In Russian) EDN: https://elibrary.ru/TVAQKD
8. Ierusalimschy R. Programmirovanie na yazyke Lua. Tretye izdanie [Programming in Lua. Third Edition]. Moscow, DMK Press, 2016, 382 p. (In Russian)