RU2729210C1 - Electronic devices software testing system - Google Patents

Electronic devices software testing system Download PDF

Info

Publication number
RU2729210C1
RU2729210C1 RU2020103497A RU2020103497A RU2729210C1 RU 2729210 C1 RU2729210 C1 RU 2729210C1 RU 2020103497 A RU2020103497 A RU 2020103497A RU 2020103497 A RU2020103497 A RU 2020103497A RU 2729210 C1 RU2729210 C1 RU 2729210C1
Authority
RU
Russia
Prior art keywords
tools
software
complex
test
testing
Prior art date
Application number
RU2020103497A
Other languages
Russian (ru)
Inventor
Виктор Викторович Прудков
Original Assignee
Акционерное общество «Информационные спутниковые системы» имени академика М.Ф. Решетнёва»
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Акционерное общество «Информационные спутниковые системы» имени академика М.Ф. Решетнёва» filed Critical Акционерное общество «Информационные спутниковые системы» имени академика М.Ф. Решетнёва»
Priority to RU2020103497A priority Critical patent/RU2729210C1/en
Application granted granted Critical
Publication of RU2729210C1 publication Critical patent/RU2729210C1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Debugging And Monitoring (AREA)

Abstract

FIELD: computer equipment.
SUBSTANCE: invention relates to computer engineering. Technical result is achieved due to the fact that a single software environment comprises a synchronization timer associated with information analysis and processing means and with writing, editing and executing tests; functional device models comprise an event setting unit associated with writing, editing and executing tests, and an event generation unit associated with the synchronization timer.
EFFECT: technical result consists in improvement of quality of testing and reliability of tested software due to timely response and monitoring from side of complex on events from tested software and dynamic effect on computing process of tested software with simulation of emergency situations to confirm its failure stability.
1 cl, 1 dwg

Description

Изобретение относится к вычислительной технике, а именно к комплексам тестирования программного обеспечения (ПО) электронных устройств (ЭУ).The invention relates to computer technology, namely to complexes for testing software (SW) of electronic devices (EI).

Известно изобретение «Комплекс отладки», заключающееся в том, что Комплекс отладки программ, содержит управляющую вычислительную машину, пульт управления и ЭВМ общего назначения, группу имитаторов входной информации, подключенных входами к ЭВМ общего назначения, а выходами - к управляющей вычислительной машине, синхронизирующий выход которой подключен к синхронизирующему входу пульта управления, который через первую магистральную шину подключен к управляющей вычислительной машине, а через вторую - к ЭВМ общего назначения, сигнальный вход которой объединен с управляющим входом управляющей вычислительной машины и подключен к выходу пульта управления (RU №2448363).There is a known invention "Debugging Complex", which consists in the fact that the Program Debugging Complex contains a control computer, a control panel and a general-purpose computer, a group of input information simulators connected by inputs to a general-purpose computer, and outputs to a control computer, synchronizing output which is connected to the synchronizing input of the control panel, which is connected through the first bus bus to the control computer, and through the second to a general-purpose computer, the signal input of which is combined with the control input of the control computer and connected to the output of the control panel (RU # 2448363).

В данном изобретении в основе комплекса лежат аппаратные компоненты, которые не всегда можно легко и оперативно модифицировать, а наличие физической связи обмена между имитаторами функциональных модулей ограничивают возможности по их взаимодействию, т.е. отсутствует возможность расширения функций их взаимодействия при возникновении новых требований к подобному комплексу. Так же в данном изобретении упор сделан на взаимодействие аппаратных средств, без описания взаимодействия и построения программной составляющей отладочного комплекса, что в конечном итоге усложнит его реализацию и как следствие увеличит, как трудозатраты, так и сроки проведения испытаний. In this invention, the complex is based on hardware components that cannot always be easily and efficiently modified, and the presence of a physical exchange connection between simulators of functional modules limits the possibilities for their interaction, i.e. there is no possibility of expanding the functions of their interaction when new requirements for such a complex arise. Also, in this invention, the emphasis is on the interaction of hardware, without describing the interaction and building the software component of the debugging complex, which will ultimately complicate its implementation and, as a result, increase both labor costs and the timing of tests.

В описании работы комплекса сказано, что контроль промежуточных результатов работы программы обеспечивается считыванием информации из запоминающего устройства управляющей вычислительной машины (УВМ) в определенных точках после сообщения сигналом «Останов» - завершение теста, через соответствующие каналы между аппаратными компонентами комплекса. При тестировании на данном комплексе в регистры кодов адреса и данных пульта управления заносятся контрольные коды, при совпадении которых с адресом команды или данных при выполнении программы УВМ срабатывают соответствующие схемы сравнения, в результате чего включается триггер, формирующий сигнал «Останов». Получив сигнал «Останов» ЭВМ по заранее подготовленной программе или по указаниям оператора проводит чтение состояния внутренней памяти УВМ и вывод на общедоступные средства отображения. Далее оператор задает другие точки и снимает «Останов» повторяя действия. Такое обеспечение средств синхронизации позволяет лишь работать в режиме «старт-стоп», т.е. задали состояние, а тестируемая программа сообщила об окончании тестирования. Таким образом описанные средства позволяют зарегистрировать окончание теста, и отсутствуют средства реагирования на события, происходящие во время выполнения теста до сигнала «Останов». При такой организации в процессе выполнения теста нет возможности обеспечить множественные отклики от программы УВМ, что необходимо для обеспечения большей вариативности тестов и как следствие повышения полноты тестирования.In the description of the operation of the complex it is said that the control of intermediate results of the program operation is provided by reading information from the memory of the control computer (CFM) at certain points after the message with the signal "Stop" - the end of the test, through the appropriate channels between the hardware components of the complex. When testing on this complex, control codes are entered into the registers of the address and data codes of the control panel, when they coincide with the address of the command or data during the execution of the UVM program, the corresponding comparison circuits are triggered, as a result of which the trigger is turned on, which generates the "Stop" signal. Having received the "Stop" signal, the computer reads the state of the internal memory of the UVM and outputs it to public display facilities according to a previously prepared program or according to the instructions of the operator. Then the operator sets other points and removes "Stop" by repeating the steps. Such provision of synchronization means only allows to work in the "start-stop" mode, i.e. set the state, and the program under test reported the end of testing. Thus, the described means allow you to register the end of the test, and there is no means of responding to events that occur during the test execution before the "Stop" signal. With such an organization, in the process of test execution, it is not possible to provide multiple responses from the UVM program, which is necessary to ensure greater variability of tests and, as a consequence, to increase the completeness of testing.

Известно изобретение «Способ и система автоматизации тестирования программного обеспечения», заключающееся в том, что система автоматизации тестирования программного обеспечения включает, по крайней мере, одно устройство пользователя и/или тестировщика, по крайней мере, одну базу данных, по крайней мере, одну базу тестов и программно-аппаратный комплекс, выполненный с возможностью: тестирования программного обеспечения по составленным планам тестирования посредством интерактивного взаимодействия тестировщика с пользовательским интерфейсом тестируемого программного обеспечения, записи указанных действий пользователя в автоматическом режиме в заранее заданных терминах уровня бизнес-логики тестируемого программного обеспечения, сохраняя результаты в базе тестов в качестве тестовых сценариев, записи изменений в базе данных, производимых при выполнении указанных тестовых сценариев, в автоматическом режиме в заранее заданных терминах, присваивая данным изменениям признак «Эталонные изменения» и сохраняя результаты в базе тестов, после изменения программного обеспечения осуществления его регрессионного тестирования, проигрывания тестовых сценариев из базы тестов в автоматическом режиме, записи изменений в базе данных, производимых при выполнении указанных тестовых сценариев, в автоматическом режиме в заранее заданных терминах, присваивая данным изменениям признак «Фактические изменения» и сохраняя результаты в базе тестов, осуществления верификации по каждому тестовому сценарию, сравнивая «Эталонные изменения» и «Фактические изменения» и сохраняя результаты сравнения в базе тестов, формирования списка тестовых сценариев, не прошедших верификацию, при этом под изменениями, не прошедшими верификацию подразумеваются расхождения «Эталонных изменений» и «Фактических изменений» и выполнен дополнительно с возможностью: выявления основных бизнес-процессов, выполняемых с использованием тестируемого программного обеспечения, составления детального плана тестирования выявленных бизнес-процессов, фиксируя варианты интерактивного взаимодействия тестировщика с пользовательским интерфейсом тестируемого программного обеспечения (заявка на патент РФ №2013126869/08).Known invention "Method and software testing automation system", which consists in the fact that the software testing automation system includes at least one user and / or tester device, at least one database, at least one database tests and a software and hardware complex capable of: software testing according to the prepared test plans through the interactive interaction of the tester with the user interface of the software under test, recording the specified user actions in automatic mode in predetermined terms of the business logic level of the software under test, saving the results in the test database as test scenarios, recording changes in the database made during the execution of the specified test scenarios, in automatic mode in predetermined terms, assigning these changes the attribute "Reference changes "And saving the results in the test database, after changing the software for its regression testing, playing test scripts from the test database in automatic mode, recording changes in the database made during the execution of the specified test scripts, in automatic mode in predetermined terms, assigning to the data changes the sign "Actual changes" and saving the results in the test database, carrying out verification for each test scenario, comparing the "Reference changes" and "Actual changes" and saving the comparison results in the test database, forming a list of test scenarios that did not pass verification, while under changes that have not passed verification imply discrepancies between the "Reference changes" and "Actual changes" and is additionally made with the ability to: identify the main business processes performed using the software under test, draw up a detailed test plan for the identified businesses c-processes, fixing the options for the interactive interaction of the tester with the user interface of the software under test (patent application of the Russian Federation No. 2013126869/08).

В данном изобретении:In this invention:

• отсутствуют единые и четкие требования к программным моделям (имитаторам) взаимодействия с электронным устройством тестируемого ПО, что обязательно приведет к усложнению реализации программного комплекса и ограничению возможностей по его наращиванию;• there are no uniform and clear requirements for software models (simulators) of interaction with the electronic device of the software under test, which will necessarily lead to the complication of the implementation of the software package and the limitation of the possibilities for its expansion;

• отсутствуют средства визуализации (как основного инструмента предоставления результатов тестирования) для оперативного и гибкого контроля состояния средств моделирования, а также их данных и сущностей;• there are no visualization tools (as the main tool for providing test results) for operational and flexible control of the state of modeling tools, as well as their data and entities;

• отсутствуют средства синхронизации, что может привести к ограниченному функционалу комплекса и как следствие снижению полноты тестирования и невозможности своевременного отклика на реакции тестируемого программного обеспечения в процессе испытаний.• there are no synchronization tools, which can lead to limited functionality of the complex and, as a consequence, to a decrease in the completeness of testing and the impossibility of timely response to the reactions of the software under test during testing.

Наиболее близкими к предлагаемому по технической сущности является изобретение «Комплекс автоматизации и визуализации тестирования встроенного программного обеспечения электронных устройств», заключающееся в том, что программный комплекс включает единую программную среду, содержащую средства написания, редактирования и выполнения тестов, автоматизированного анализа и обработки информации, визуализации данных и сущностей в процессе тестирования и на этапе подготовки к нему, хранения тестовых наборов и подключения их в состав комплекса на любом этапе тестирования, динамической реконфигурации и управления в любой момент времени программным комплексом и любых компонент входящих в его состав, выделения общего буфера для взаимодействия подключаемых моделей и произвольную их реконфигурацию, как в ручном режиме, так и во время выполнения тестов, защиты и восстановления комплекса при наличии непредвиденных сбоев в процессе его работы, динамически подключаемые модели функциональных устройств, реализуемые в виде независимых унифицированных программных модулей с заранее определённым единым набором методов и функций и средствами визуализации и представления состояния их внутренних данных и сущностей, разработанных по единым правилам построения и реализации на базе унифицированного шаблона и вызываемых из единой программной среды, базу данных хранения представлений данных и сущностей, средства автоматизированного заполнения базы данных информацией на основе анализа документации, по которой разрабатывается тестируемое программное обеспечение (RU №2678717).The closest to the proposed technical essence is the invention "Complex of automation and visualization of testing embedded software of electronic devices", which consists in the fact that the software complex includes a single software environment containing tools for writing, editing and executing tests, automated analysis and information processing, visualization data and entities during testing and at the stage of preparation for it, storing test sets and connecting them to the complex at any stage of testing, dynamic reconfiguration and control at any time by the software complex and any components included in its composition, allocating a common buffer for interaction connected models and their arbitrary reconfiguration, both in manual mode and during the execution of tests, protection and recovery of the complex in the presence of unforeseen failures during its operation, dynamically connected models of functional devices, re alizable in the form of independent unified software modules with a predetermined unified set of methods and functions and means of visualization and presentation of the state of their internal data and entities, developed according to unified rules of construction and implementation based on a unified template and called from a unified software environment, a database for storing data representations and entities, means of automated filling of the database with information based on the analysis of the documentation for which the software under test is being developed (RU # 2678717).

В данном изобретении говорится о реализации функционала регистрация событий в модели, через таймер ожидания события в модели: «ожидание события - организация таймера ожидания событий в выбранной модели, с указанием количества ожидаемых событий. Позволяет синхронизировать ход выполнения тестируемого ПО с ходом прохождения теста, что обеспечивает наиболее точное взаимодействие и воздействие на тестируемое ПО», т.е. в каждой модели функциональных устройств организуется таймер ожидания и дальше осуществляется передача сообщения о его срабатывании. При организации таймера в модели, возможна ситуация, когда модель ожидает событие, а среда может продолжить выполнять функции, что может вызвать рассинхронизацию происходящих событий в модели от тестируемого ПО и управляющих воздействий от единой программной среды. Наличие такой обратной связи позволяет обеспечить дополнительный контроль в ходе тестирования, но не позволит использовать ее в качестве своевременного основного контроля и управления в реальном времени, что в конечном итоге снизит полноту и качество тестирования. Так же организация множества таймеров ожидания событий в каждой модели создает дополнительную нагрузку на используемые ими ресурсы аппаратуры контроля.This invention talks about the implementation of the functionality of registering events in the model, through an event waiting timer in the model: “waiting for an event - organizing an event waiting timer in the selected model, indicating the number of expected events. Allows you to synchronize the progress of the software under test with the course of the test, which ensures the most accurate interaction and impact on the software under test ”, i.e. in each model of functional devices a waiting timer is organized and then a message about its activation is transmitted. When organizing a timer in a model, a situation is possible when the model is waiting for an event, and the environment can continue to perform functions, which can cause desynchronization of events in the model from the software under test and control actions from a single software environment. The presence of such feedback allows you to provide additional control during testing, but will not allow using it as a timely main control and management in real time, which ultimately will reduce the completeness and quality of testing. Also, the organization of many timers for waiting for events in each model creates an additional load on the resources of the control equipment used by them.

Таким образом, данное изобретение не лишено недостатков и может быть усовершенствовано путем реализации установки и генерации событий в моделях функциональных устройств и единого общего таймера их ожидания в единой программной среде. По совокупности признаков данное изобретение является наиболее близким к заявляемому и выбрано в качестве прототипа.Thus, the present invention is not without its drawbacks and can be improved by implementing setting and generating events in models of functional devices and a single common timer for their waiting in a single software environment. In terms of the totality of features, this invention is the closest to the claimed one and is chosen as a prototype.

Недостатком прототипа является:The disadvantage of the prototype is:

• Невозможность обеспечения полной синхронизации процесса тестирования с реакцией тестируемого ПО в реальном времени, что сводится к тестированию, которое учитывает не все особенности выполнения тестируемой программы и снижает качество и полноту тестирования.• The impossibility of ensuring complete synchronization of the testing process with the response of the software under test in real time, which boils down to testing, which does not take into account all the features of the execution of the program under test and reduces the quality and completeness of testing.

Работа комплекса в режиме полу-синхронного выполнения процесса тестирования и вычислительного процесса тестируемого ПО, что не позволяет осуществлять их в полной мере предсказуемое взаимодействие и обеспечить точность воздействия на ход вычислительного процесса тестируемого ПО.The complex operates in the mode of semi-synchronous execution of the testing process and the computing process of the software under test, which does not allow their fully predictable interaction and ensure the accuracy of the impact on the computing process of the software under test.

Технической проблемой изобретения является повышение полноты и качества тестирования.The technical problem of the invention is to improve the completeness and quality of testing.

Техническая проблема решается за счет того, что комплекс тестирования программного обеспечения электронных устройств включает аппаратуру ввода/вывода; сервер хранения тестов; единую программную среду, содержащую средства написания, редактирования и выполнения тестов, средства анализа и обработки информации, средства визуализации данных и сущностей, средства управления хранением тестовых наборов и их подключения в состав комплекса на любом этапе тестирования, средства динамической реконфигурации и управления, общего буфера в ОЗУ для взаимодействия подключаемых моделей и произвольную их реконфигурацию, средства защиты и восстановления комплекса; модели функциональных устройств, содержащие блок конфигурации, блок взаимодействия с электронным устройством, блок моделирования, блок визуализации состояния; базу данных; средства автоматизированного анализа и заполнения базы данных; единая программная среда содержит таймер синхронизации, связанный со средствами анализа и обработки информации и со средствами написания, редактирования и выполнения тестов; модели функциональных устройств содержат блок установки событий, связанный со средствами написания, редактирования и выполнения тестов, и блок генерации событий, связанный с таймером синхронизации.The technical problem is solved due to the fact that the software testing complex for electronic devices includes input / output equipment; test storage server; a unified software environment containing tools for writing, editing and executing tests, tools for analyzing and processing information, tools for visualizing data and entities, tools for managing the storage of test sets and their connection to the complex at any stage of testing, tools for dynamic reconfiguration and control, a common buffer in RAM for interaction of plug-in models and their arbitrary reconfiguration, means of protection and restoration of the complex; functional device models containing a configuration block, a block for interaction with an electronic device, a simulation block, a state visualization block; database; tools for automated analysis and database filling; a single software environment contains a synchronization timer associated with tools for analyzing and processing information and with tools for writing, editing and executing tests; functional device models contain an event setting block associated with means of writing, editing and executing tests, and an event generating block associated with a synchronization timer.

На чертеже представлена структурная схема комплекса.The drawing shows a block diagram of the complex.

Комплекс реализуется следующим образом:The complex is implemented as follows:

Комплекс состоит из аппаратуры ввода/вывода 6, сервера хранения тестов 5, единой программной среды 1, моделей функциональных устройств 2, базы данных 3, средств автоматизированного анализа и заполнения базы данных 4.The complex consists of input / output equipment 6, a test storage server 5, a unified software environment 1, models of functional devices 2, a database 3, tools for automated analysis and filling of a database 4.

Аппаратура ввода/вывода 6 осуществляет обмен данными с моделями функциональных устройств 2 через блок взаимодействия с электронным устройством 2.3 и обмен данными с электронным устройством со встроенным ПО 7.The input / output equipment 6 exchanges data with the models of functional devices 2 through an interaction unit with an electronic device 2.3 and exchanges data with an electronic device with embedded software 7.

Сервер хранения тестов 5 осуществляет хранение и доступ к тестам из единой программной среды 1 через средства управления хранением тестовых наборов и их подключения 1.1.The test storage server 5 provides storage and access to tests from a single software environment 1 through the tools for managing the storage of test cases and their connection 1.1.

Модели функциональных устройств 2 реализуются в виде независимых унифицированных программных модулей с заранее определённым единым набором методов и функций и средствами визуализации и представления состояния их внутренних данных и сущностей, разработанных по единым правилам построения и реализации, и управляемых программной средой выполнения тестов в реальном времени на любом этапе тестирования. Модели функциональных устройств 2 содержат блок конфигурации 2.1, блок моделирования 2.2, блок взаимодействия с электронным устройством 2.3, блок визуализации состояния 2.4, блок установки событий 2.5 и блок генерации событий 2.6.Models of functional devices 2 are implemented in the form of independent unified software modules with a predetermined single set of methods and functions and means of visualization and presentation of the state of their internal data and entities, developed according to uniform rules for construction and implementation, and controlled by the software environment for executing tests in real time on any testing stage. Models of functional devices 2 contain a configuration block 2.1, a simulation block 2.2, a block for interaction with an electronic device 2.3, a state visualization block 2.4, an event setting block 2.5 and an event generation block 2.6.

Единая программная среда 1 реализуется в виде единого пользовательского интерфейса, который содержит средства управления хранением тестовых наборов и их подключения 1.1 в состав комплекса на любом этапе испытаний, обеспечивают взаимодействие с сервером хранения тестов 5; средства написания, редактирования и выполнения тестов 1.2, обеспечивают задание параметров конфигурации в блоке конфигурации 2.1, обмен информацией с блоком взаимодействия с электронным устройством 2.3, установку событий в блоке установке событий 2.5 и запуск таймера синхронизации 1.7; средства анализа и обработки информации 1.3 обеспечивают обмен данными с блоком моделирования 2.2 и прием информации от таймера синхронизации 1.7; средства динамической реконфигурации и управления 1.4 в любой момент времени любых компонент входящих в состав единой программной среды 1, и осуществляют передачу данных в блок конфигурации 2.1; средства визуализации данных и сущностей 1.5 как собственных, так и моделей функциональных устройств на любом этапе тестирования, и принимают данные от блока визуализации состояния 2.4; средства защиты и восстановления 1.6 единой программной среды при наличии непредвиденных сбоев в процессе работы и таймер синхронизации 1.7 с вычислительным процессом тестируемого ПО. Единая программная среда 1 обеспечивает передачу данных в буфер в ОЗУ 8 для конфигурации моделей функциональных устройств 2 в блоке конфигурации 2.1 и их межмодельного взаимодействия, с возможностью расширения такого взаимодействия по мере поступления новых требований к моделям или добавление новых моделей в состав комплекса.A unified software environment 1 is implemented in the form of a unified user interface, which contains controls for storing test sets and their connection 1.1 to the complex at any stage of testing, provide interaction with the test storage server 5; tools for writing, editing and executing tests 1.2, provide the setting of configuration parameters in the configuration block 2.1, exchange of information with the block of interaction with an electronic device 2.3, setting events in the block for setting events 2.5 and starting the synchronization timer 1.7; information analysis and processing tools 1.3 provide data exchange with the modeling unit 2.2 and receive information from the synchronization timer 1.7; means of dynamic reconfiguration and control 1.4 at any time of any components included in the unified software environment 1, and transfer data to the configuration unit 2.1; visualization tools for data and entities 1.5, both their own and models of functional devices at any stage of testing, and receive data from the state visualization unit 2.4; means of protection and recovery 1.6 of a unified software environment in the presence of unforeseen failures in the process of operation and a timer for synchronization 1.7 with the computing process of the tested software. A single software environment 1 provides data transfer to a buffer in RAM 8 for the configuration of models of functional devices 2 in the configuration block 2.1 and their inter-model interaction, with the possibility of expanding such interaction as new requirements for models come in or adding new models to the complex.

База данных (БД) 3 содержит информацию, включающую в себя параметры программного комплекса и информацию необходимую для единой программной среды 1. БД реализуется в виде набора связанных таблиц в соответствии с определенным типом назначения и использования, с привязкой к определенным видам тестируемого ПО.Database (DB) 3 contains information that includes the parameters of the software package and the information necessary for a single software environment 1. The database is implemented as a set of related tables in accordance with a specific type of purpose and use, with reference to certain types of tested software.

Средства автоматизированного анализа информации и заполнения БД 4 выполняют анализ документации описывающей устройства взаимодействия с тестируемым ПО и заполнение БД в порядке принадлежности данных к своему типу назначения и использования, и внутренней привязки между собой.Means of automated analysis of information and filling out the database 4 analyze the documentation describing the device for interacting with the tested software and filling the database in the order of the data belonging to its type of purpose and use, and internal binding to each other.

Синхронизация процесса испытаний реализуется следующим образом: в каждую модель функционального устройства включен блок установки событий 2.5, содержащий средства взаимодействия с пользователем, в котором устанавливается пользователем количество событий, их принадлежность к модели и общее время ожидания, и блок генерации событий 2.6, в котором формируются события на основе внешних воздействий от тестируемого программного обеспечения или по внутренним алгоритмам работы модели, а в единую программную среду 1 включен таймер синхронизации 1.7, управляющий вычислительным процессом путем остановки хода тестирования на время ожидания событий и продолжением его, при регистрации событий от моделей, или прерыванием хода тестирования при отсутствии событий в установленное время.Synchronization of the test process is implemented as follows: each functional device model includes an event setting block 2.5, which contains means of interaction with the user, in which the user sets the number of events, their belonging to the model and the total waiting time, and an event generation block 2.6, in which events are generated based on external influences from the software under test or according to the internal algorithms of the model, and a synchronization timer 1.7 is included in a single software environment 1, which controls the computational process by stopping the testing process while waiting for events and continuing it, when registering events from models, or by interrupting the course testing in the absence of events at the specified time.

Комплекс работает следующим образом.The complex works as follows.

В программу управления БД, входящую в состав средств автоматизированного анализа и заполнения БД 4, заносится основная информация по тестируемому ПО электронного устройства (принадлежность прибора и идентификатор ПО, который является уникальным для любого ПО электронного устройства).The database control program, which is part of the automated analysis and filling of the database 4, contains basic information on the tested software of the electronic device (device accessory and software identifier, which is unique for any software of an electronic device).

На основе идентификатора ПО создается типизированный файл в формате Microsoft Excell (*.xls) с таблицами для заполнения данных, в который по таблично заносится информация из документации на ПО электронного устройства (ИД на разработку ПО) в соответствующие таблицы типизированного файла.Based on the software identifier, a typed file is created in the Microsoft Excell format (* .xls) with tables for filling in the data, into which information from the documentation for the software of the electronic device (ID for software development) is entered in the corresponding tables of the typed file.

Программа управления БД автоматически заполняет БД 4 информацией, привязывая ее к идентификатору ПО, а так же осуществляя присвоения идентификаторов для каждой записи в БД 4 с привязкой данных друг к другу, в соответствии с построением таблиц БД 4.The database management program automatically fills in database 4 with information, binding it to the software identifier, as well as assigning identifiers for each record in database 4 with data binding to each other, in accordance with the construction of the database 4 tables.

Пользователь запускает единую программную среду (ЕПС) 1. ЕПС 1 по запуску определяет доступность сервера хранения тестов 5 и выполняет подключение к нему в режиме доступа на запись и чтение (по умолчанию режим доступа только на чтение, для несанкционированного изменения данных на нем). Далее она осуществляет конфигурацию внутренних структур и данных, выделение общего буфера в ОЗУ 8 для межмодельного взаимодействия и на основе идентификатора ПО выполняет подключение соответствующих моделей функциональных устройств 2, с передачей каждой модели параметров их конфигурации (данные предыдущей конфигурации, текущий выбранный идентификатор ПО, описатель буфера памяти для межмодельного взаимодействия, и другие параметры необходимые для настройки модели и запуска потока(ов) моделирующего(их) работу модели). The user launches the unified software environment (UPC) 1. When launched, the UPC 1 determines the availability of the test storage server 5 and connects to it in the read / write access mode (by default, the read-only access mode, for unauthorized changes to the data on it). Further, it configures internal structures and data, allocates a common buffer in RAM 8 for inter-model interaction and, based on the software identifier, connects the corresponding models of functional devices 2, with the transfer of each model of their configuration parameters (data of the previous configuration, the currently selected software identifier, buffer descriptor memory for inter-model interaction, and other parameters necessary for setting up the model and launching the thread (s) that simulates the work of the model).

В ЕПС 1 реализуется два режима: «Редактор» и «Рабочий», оба режима выбираются соответствующими вкладками.In ENP 1, two modes are implemented: "Editor" and "Working", both modes are selected by the corresponding tabs.

В режиме «Редактор» пользователь составляет тестовые последовательности (циклограммы), их редактирует и сохраняет в рабочем каталоге. Рабочий каталог формирует ЕПС 1 в соответствии с выбранной текущей конфигурацией, т.е. создавая соответствующие каталоги по принадлежности к типу электронного устройства и индексу тестируемого ПО.In the "Editor" mode the user creates test sequences (cyclograms), edits them and saves them in the working directory. The working directory generates ENP 1 in accordance with the selected current configuration, i.e. creating appropriate catalogs by belonging to the type of electronic device and the index of the tested software.

В режиме «Рабочий» представлен инструмент для выполнения тестовых наборов, в нескольких режимах: одиночного прогона, бесконечного зацикливания, и пошагового выполнения, а так же представлены средства, выполняющие функции точек останова для выполнения тестового набора до указанной позиции.In the "Working" mode, a tool for executing test cases is presented, in several modes: single run, endless looping, and step-by-step execution, as well as tools that perform the functions of breakpoints for executing a test case to a specified position.

В ЕПС 1 реализованы функции управления хранением тестовых наборов с использованием сервера хранения тестов 5:ENP 1 implements the functions of managing the storage of test cases using the test storage server 5:

• скопировать/переместить текущий тестовый набор на сервер хранения тестов 5, при этом на сервере хранения тестов 5 создастся цепочка каталогов соответствующая рабочему и добавится еще один каталог с номером версии, для которой данный набор был разработан и отработан; • copy / move the current test suite to the test storage server 5, while on the test storage server 5 a chain of directories will be created corresponding to the working one and another directory with the version number for which this suite was developed and worked out will be added;

• скопировать/переместить тестовый набор с сервера хранения тестов 5 при этом выбрав из перечня доступных наборов по принадлежности к версиям ПО;• copy / move a test suite from the test storage server 5 while selecting from the list of available suites according to the software version;

• открыть в проводнике каталог, содержащий тестовый набор;• open the directory containing the test case in the explorer;

• просмотреть полный список тестов как в рабочем каталоге, так и на сервере хранения тестов 5.• view the complete list of tests both in the working directory and on the test storage server 5.

В случае непредвиденного сбоя или падения ЕПС 1, при следующем ее запуске она восстанавливает не сохраненные наборы тестов и протоколы выполнения, и параметры конфигурации ЕПС 1.In the event of an unforeseen failure or fall of ENP 1, the next time it is launched, it restores the unsaved test sets and execution protocols, and the configuration parameters of ENP 1.

ЕПС 1 содержит элементы доступа и управления моделями функциональных устройств 2, реализованные в виде контекстного меню, которое появляется при нажатии на соответствующую иконку модели. Данное меню доступно на любом этапе работы с ЕПС 1, включая режим выполнения тестов, для воздействия на ход тестирования в реальном времени.ENP 1 contains elements of access and control of models of functional devices 2, implemented in the form of a context menu that appears when you click on the corresponding icon of the model. This menu is available at any stage of work with ENP 1, including the test execution mode, to influence the testing progress in real time.

Через данное контекстное меню пользователь может обратиться к модели функциональных устройств 2 для выполнения следующих функций взаимодействия:Through this context menu, the user can access the functional device model 2 to perform the following interaction functions:

• настройка внутренних параметров (частота потока, адреса устройств и данных, необходимые как для настройки аппаратной части взаимодействия с электронным устройством 7, так и внутренних структур, данных и сущностей модели);• setting up internal parameters (stream frequency, device and data addresses required both for setting up the hardware part of interaction with the electronic device 7, and internal structures, data and model entities);

• управление потоком модели. Поток модели выполняет функции моделирования логики функционального устройства;• model flow control. The model stream performs the functions of modeling the logic of a functional device;

• осуществление функции взаимодействия с моделью (запись управляющих воздействий как для выдачи на электронное устройство 7, так и для управления внутренним состоянием данных и сущностей модели, чтение состояния);• implementation of the function of interaction with the model (recording control actions both for issuing to the electronic device 7 and for managing the internal state of the data and model entities, reading the state);

• визуализация данных и сущностей модели (данные представляются как в виде непосредственно кодов, так и в виде различных типов представления: пиктограммы, иконки, графики, изображения и т.д.).• visualization of data and entities of the model (data is presented both in the form of codes directly, and in the form of various types of representation: pictograms, icons, graphics, images, etc.).

Так же каждая модель функционального устройства 2 протоколирует в своем локальном буфере информацию за весь период работы ЕПС 1 (прием команд, сигналов, воздействия как со стороны электронного устройства, так и со стороны ЕПС 1), что позволяет на любом этапе проконтролировать, что происходило с каждой моделью функционального устройства 2, например до того, как было зафиксировано не прохождение теста, что облегчает анализ состояния тестируемого ПО в процессе выполнения теста.Also, each model of functional device 2 logs in its local buffer information for the entire period of operation of ENP 1 (receiving commands, signals, impacts both from the electronic device and from the ENP 1), which allows at any stage to control what happened with each model of functional device 2, for example, before the failure of the test was recorded, which makes it easier to analyze the state of the software under test during the test execution.

Доступные в процессе тестирования для пользователя средства визуализации тестирования представляются в виде набора графического сопровождения, который включает базовые средства: выделение цветом типов операций, подсветка хода выполнения тестирования, выделение операций не прохождения, выделение определенной информации не прошедшей контроль и т.д., так и комплексные средства представления информации (например, отображение положения Солнца в пространстве при моделировании приборов в режиме солнечной ориентации КА, относительно виденья его через прибор «датчик наличия Солнца», с фиксацией и отображением каждой точки такого пути на плоскости и отображением всех параметров ориентации в реальном времени).The testing visualization tools available to the user in the testing process are presented in the form of a set of graphical support, which includes basic tools: highlighting the types of operations, highlighting the progress of testing, highlighting non-passing operations, highlighting certain information that has not passed control, etc., and complex means of presenting information (for example, displaying the position of the Sun in space when simulating devices in the solar orientation mode of the spacecraft, relative to its vision through the device "sensor of the presence of the Sun", with fixing and displaying each point of such a path on the plane and displaying all orientation parameters in real time ).

Синхронизация процесса испытаний осуществляется с помощью таймера синхронизации 1.7 и блока генерации событий 2.6 в каждой из моделей функциональных устройств 2. Генерация событий может происходить как по внутренней логике модели и по воздействиям из вне, получаемым моделью от тестируемого программного обеспечения, так и по более сложным алгоритмам обмена информацией, включая межмодельные связи и дополнительные единичные сигналы.Synchronization of the test process is carried out using a synchronization timer 1.7 and an event generating unit 2.6 in each of the functional device models 2. Events can be generated both according to the internal logic of the model and according to external influences received by the model from the tested software, and according to more complex algorithms information exchange, including inter-model communications and additional single signals.

Для синхронизации процесса испытаний пользователь вставляет в определенном месте циклограммы тестирования операцию синхронизации, для которой указывает количество событий, их тип, принадлежность модели, время необходимое для их ожидания и др. При выполнении циклограммы тестирования на операции синхронизации ЕПС 1 запускает таймер синхронизации 1.7 в режим ожидания, в соответствии с заданными параметрами, т.е. он ожидает конкретных событий, происходящих в определенной модели функционального устройства, которые наступят по определенным действиям от тестируемого ПО. Таймер синхронизации 1.7 обеспечивает останов процесса тестирования на время в течении которого должно произойти событие. Если событие приходит, то процесс тестирования продолжается, иначе по срабатыванию таймера - процесс тестирования прерывается в связи с отсутствием события.To synchronize the test process, the user inserts a synchronization operation at a certain place in the test sequence diagram, for which he indicates the number of events, their type, model affiliation, the time required to wait, etc. When the test sequence is executed on the synchronization operation, EPU 1 starts the synchronization timer 1.7 into standby , in accordance with the specified parameters, i.e. he expects specific events occurring in a certain functional device model, which will occur according to certain actions from the software under test. Synchronization timer 1.7 provides stopping the testing process for the time during which the event should occur. If an event arrives, then the testing process continues, otherwise, when the timer is triggered, the testing process is interrupted due to the absence of an event.

Комплекс реализован в АО «ИСС», на базе следующего программного обеспечения:The complex is implemented in JSC "ISS", based on the following software:

• единой программной среды («Наземный отработочный комплекс программного обеспечения вычислительного модуля магистрально-модульной аппаратуры» свидетельство о регистрации программ для ЭВМ №2013618885);• a unified software environment ("Ground development complex for the software of the computational module of the main-module equipment", certificate of registration of computer programs No. 2013618885);

• моделей функциональных устройств (свидетельства о регистрации программ для ЭВМ: №2013618778, №2013660234, №2013660490, №2014610477, №2014611654, №2015616152, №2015616230, 2015618458, 2015618459, 2015660760, 2015660757, 2015660712, 2015660686, 2015660682, 2015660710, 2015660681 и др.);• models of functional devices (certificates of registration of computer programs: №2013618778, №2013660234, №2013660490, №2014610477, №2014611654, №2015616152, №2015616230, 2015618458, 2015618459, 2015660760, 20156607681, 2015660760, 2015660668160 and etc.);

• базы данных (свидетельство о государственной регистрации баз данных №2011620642);• databases (certificate of state registration of databases No. 2011620642);

• сервиса автоматизированного заполнения базы данных бортовой магистрально-модульной аппаратуры (свидетельство о государственной регистрации баз данных №2015616153).• service for automated filling of the database of onboard trunk-module equipment (certificate of state registration of databases No. 2015616153).

С использованием данного комплекса проведено тестирование встроенного программного обеспечения блоков управления бортового комплекса управления и блоков интерфейсных бортового комплекса управления перспективных КА производства АО «ИСС».With the use of this complex, the embedded software of the control units of the onboard control complex and the interface units of the onboard control complex of advanced spacecraft manufactured by JSC "ISS" were tested.

За счет реализации данного технического решения достигается необходимый технический результат:Due to the implementation of this technical solution, the required technical result is achieved:

• Повышение полноты тестирования, путем реализации функционала комплекса со средствами синхронизации процесса испытаний, которые включают таймер синхронизации и функции генерации событий в моделях функциональных устройств окружения электронного устройства, реализуемые как результат воздействия тестируемого ПО.• Increasing the completeness of testing by implementing the functionality of the complex with means of synchronization of the test process, which include a synchronization timer and functions for generating events in models of functional devices of the environment of an electronic device, implemented as a result of the impact of the software under test.

• Повышение качества тестирования и надежности тестируемого ПО за счет своевременной реакции (отклика) и контроля со стороны комплекса на события от тестируемого программного обеспечения и динамического воздействия на вычислительный процесс тестируемого программного обеспечения с имитацией нештатных ситуаций для подтверждения его сбое-устойчивости.• Improving the quality of testing and reliability of the software under test due to the timely response (response) and control from the complex to events from the software under test and dynamic impact on the computational process of the software under test with imitation of emergency situations to confirm its failure-stability.

Claims (1)

Комплекс тестирования программного обеспечения электронных устройств, заключающийся в том, что комплекс включает аппаратуру ввода/вывода; сервер хранения тестов; единую программную среду, содержащую средства написания, редактирования и выполнения тестов, средства анализа и обработки информации, средства визуализации данных и сущностей, средства управления хранением тестовых наборов и их подключения в состав комплекса на любом этапе тестирования, средства динамической реконфигурации и управления, общего буфера в ОЗУ для взаимодействия подключаемых моделей и произвольную их реконфигурацию, средства защиты и восстановления комплекса; модели функциональных устройств, содержащие блок конфигурации, блок взаимодействия с электронным устройством, блок моделирования, блок визуализации состояния; базу данных; средства автоматизированного анализа и заполнения базы данных; отличающийся тем, что единая программная среда содержит таймер синхронизации, связанный со средствами анализа и обработки информации и со средствами написания, редактирования и выполнения тестов; модели функциональных устройств содержат блок установки событий, связанный со средствами написания, редактирования и выполнения тестов, и блок генерации событий, связанный с таймером синхронизации.A complex for testing software for electronic devices, consisting in the fact that the complex includes input / output equipment; test storage server; a unified software environment containing tools for writing, editing and executing tests, tools for analyzing and processing information, tools for visualizing data and entities, tools for managing the storage of test sets and their connection to the complex at any stage of testing, tools for dynamic reconfiguration and control, a common buffer in RAM for interaction of plug-in models and their arbitrary reconfiguration, means of protection and restoration of the complex; functional device models containing a configuration block, a block for interaction with an electronic device, a simulation block, a state visualization block; database; tools for automated analysis and database filling; characterized in that the unified software environment contains a synchronization timer associated with tools for analyzing and processing information and with tools for writing, editing and executing tests; functional device models contain an event setting block associated with means of writing, editing and executing tests, and an event generating block associated with a synchronization timer.
RU2020103497A 2020-01-28 2020-01-28 Electronic devices software testing system RU2729210C1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
RU2020103497A RU2729210C1 (en) 2020-01-28 2020-01-28 Electronic devices software testing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
RU2020103497A RU2729210C1 (en) 2020-01-28 2020-01-28 Electronic devices software testing system

Publications (1)

Publication Number Publication Date
RU2729210C1 true RU2729210C1 (en) 2020-08-05

Family

ID=72085367

Family Applications (1)

Application Number Title Priority Date Filing Date
RU2020103497A RU2729210C1 (en) 2020-01-28 2020-01-28 Electronic devices software testing system

Country Status (1)

Country Link
RU (1) RU2729210C1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112783762A (en) * 2020-12-31 2021-05-11 中电金信软件有限公司 Software quality evaluation method and device and server
RU2783906C1 (en) * 2022-01-24 2022-11-21 Акционерное общество "Информационные спутниковые системы" имени академика М.Ф. Решетнёва" Complex for testing embedded software of electronic devices

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020040470A1 (en) * 1998-11-16 2002-04-04 Insignia Solutions, Plc Method and system of testing and verifying computer code in a multi-threaded environment
US20020124042A1 (en) * 2001-03-02 2002-09-05 Douglas Melamed System and method for synchronizing execution of a test sequence
US6775824B1 (en) * 2000-01-12 2004-08-10 Empirix Inc. Method and system for software object testing
US20050172258A1 (en) * 1996-04-12 2005-08-04 Fisher-Rosemount Systems, Inc. System for configuring a process control environment
US20120030495A1 (en) * 2010-07-27 2012-02-02 Sundeep Chandhoke Clock Distribution in a Distributed System with Multiple Clock Domains Over a Switched Fabric
RU2448363C1 (en) * 2010-08-05 2012-04-20 Федеральное государственное унитарное предприятие "Научно-производственное объединение автоматики имени академика Н.А. Семихатова" Debugging system
RU2678717C9 (en) * 2017-11-09 2019-04-12 Российская Федерация, от имени которой выступает Государственная корпорация по космической деятельности "РОСКОСМОС" Method for building a software system for automating and visualizing testing of embedded software for electronic devices

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050172258A1 (en) * 1996-04-12 2005-08-04 Fisher-Rosemount Systems, Inc. System for configuring a process control environment
US20020040470A1 (en) * 1998-11-16 2002-04-04 Insignia Solutions, Plc Method and system of testing and verifying computer code in a multi-threaded environment
US6775824B1 (en) * 2000-01-12 2004-08-10 Empirix Inc. Method and system for software object testing
US20020124042A1 (en) * 2001-03-02 2002-09-05 Douglas Melamed System and method for synchronizing execution of a test sequence
US20120030495A1 (en) * 2010-07-27 2012-02-02 Sundeep Chandhoke Clock Distribution in a Distributed System with Multiple Clock Domains Over a Switched Fabric
RU2448363C1 (en) * 2010-08-05 2012-04-20 Федеральное государственное унитарное предприятие "Научно-производственное объединение автоматики имени академика Н.А. Семихатова" Debugging system
RU2678717C9 (en) * 2017-11-09 2019-04-12 Российская Федерация, от имени которой выступает Государственная корпорация по космической деятельности "РОСКОСМОС" Method for building a software system for automating and visualizing testing of embedded software for electronic devices

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112783762A (en) * 2020-12-31 2021-05-11 中电金信软件有限公司 Software quality evaluation method and device and server
CN112783762B (en) * 2020-12-31 2024-04-09 中电金信软件有限公司 Software quality assessment method, device and server
RU2783906C1 (en) * 2022-01-24 2022-11-21 Акционерное общество "Информационные спутниковые системы" имени академика М.Ф. Решетнёва" Complex for testing embedded software of electronic devices
RU2817186C1 (en) * 2023-10-03 2024-04-11 Акционерное общество "Информационные спутниковые системы" имени академика М.Ф. Решетнёва" System for confirming tests and testing embedded software of electronic devices

Similar Documents

Publication Publication Date Title
CN110309071B (en) Test code generation method and module, and test method and system
CN104750603B (en) A kind of multi-core DSP software simulator and its physical layer software test method
US9262299B1 (en) Simulation observability and control of all hardware and software components of a virtual platform model of an electronics system
RU2678717C9 (en) Method for building a software system for automating and visualizing testing of embedded software for electronic devices
US9262305B1 (en) Simulation observability and control of all hardware and software components of a virtual platform model of an electronics system
US20070061641A1 (en) Apparatus and method for generating test driver
CN111859834B (en) UVM-based verification platform development method, system, terminal and storage medium
US20200104246A1 (en) Continuous automation with test suite engine
JP2012123789A (en) Parallel work load simulation for application performance test
US10592703B1 (en) Method and system for processing verification tests for testing a design under test
KR20080052341A (en) Automatic-testing system and method for embedded system software and test scenario composing method
JP2017084082A (en) Simulation device, test scenario file creation method, and test method using test scenario file
CN111414309A (en) Automatic test method of application program, computer equipment and storage medium
CN111459814A (en) Automatic test case generation method and device and electronic equipment
RU2729210C1 (en) Electronic devices software testing system
CN114548027A (en) Method for tracking signal in verification system, electronic device and storage medium
US9280627B1 (en) GUI based verification at multiple abstraction levels
US8327309B2 (en) Verification of design information for controlling manufacture of a system on a chip
US10579761B1 (en) Method and system for reconstructing a graph presentation of a previously executed verification test
JPH08314760A (en) Program development supporting device
CN115509925A (en) Automatic interface testing method and related device
US10339229B1 (en) Simulation observability and control of all hardware and software components of a virtual platform model of an electronics system
RU2817186C1 (en) System for confirming tests and testing embedded software of electronic devices
WO2020138386A1 (en) Cooperative simulation repeater employing previous trace data
CN115391168A (en) Sandbox testing method, sandbox testing device, sandbox testing equipment and storage medium