RU2678717C9 - Method for building a software system for automating and visualizing testing of embedded software for electronic devices - Google Patents

Method for building a software system for automating and visualizing testing of embedded software for electronic devices Download PDF

Info

Publication number
RU2678717C9
RU2678717C9 RU2017138949A RU2017138949A RU2678717C9 RU 2678717 C9 RU2678717 C9 RU 2678717C9 RU 2017138949 A RU2017138949 A RU 2017138949A RU 2017138949 A RU2017138949 A RU 2017138949A RU 2678717 C9 RU2678717 C9 RU 2678717C9
Authority
RU
Russia
Prior art keywords
software
testing
database
test
complex
Prior art date
Application number
RU2017138949A
Other languages
Russian (ru)
Other versions
RU2678717C1 (en
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 RU2017138949A priority Critical patent/RU2678717C9/en
Application granted granted Critical
Publication of RU2678717C1 publication Critical patent/RU2678717C1/en
Publication of RU2678717C9 publication Critical patent/RU2678717C9/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
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

FIELD: computer equipment.SUBSTANCE: invention relates to computing tools and can be used to build software systems for automating and visualizing testing of embedded software for bus-structured and modular equipment. System consists of a unified environment for writing, editing and executing tests, models of functional devices interacting with an electronic device with embedded software through expansion cards, a database, means of automated information analysis and database population.EFFECT: unified software system, reduced time of development and preparation of the software system, improved efficiency and easy software testing.1 cl, 1 dwg

Description

Изобретение относится к вычислительной технике, а именно к программным комплексам автоматизации и визуализации тестирования встроенного программного обеспечения (ПО) электронных устройств (ЭУ).The invention relates to computing, in particular to software systems for automating and visualizing testing of embedded software (software) of electronic devices (EC).

Известна полезная модель «Аппаратно-программный комплекс автоматизации, управления, визуализации и мониторинга технологических процессов». Аппаратно-программный комплекс автоматизации, управления, визуализации и мониторинга технологических процессов, содержит объединенные через локальную вычислительную сеть (ЛВС) рабочие станции, автоматизированные рабочие места (АРМы) и серверы на базе персональных электронных вычислительных машин (ПЭВМ), а также объединенные системой передачи данных управляющее устройство и функциональные модули, предназначенные для обеспечения управления технологическими процессами на основе программного комплекса и для физического воздействия на входы устройств управления технологическими процессами, снятия показаний с датчиков контроля технологических процессов и передачи информации о состоянии входов/выходов устройств управления. Он имеет централизованную архитектуру принятия решений, содержащую главное управляющее устройство и подчиненные ему функциональные модули на базе промышленных микроконтроллеров, объединенные через приборный интерфейс, и снабжен программным блоком для осуществления визуализации параметров технологических процессов (Патент на полезную модель RU №:90588).The utility model "Hardware-software complex for automation, control, visualization and monitoring of technological processes" is known. Hardware-software complex for automation, control, visualization and monitoring of technological processes, contains workstations connected via a local area network (LAN), workstations automated workstations and servers based on personal electronic computers (PCs), as well as data transfer systems control device and functional modules designed to provide process control based on a software package and for physical impact input of process control devices, reading of the sensor process control and communicate the status of the I / O controllers. It has a centralized decision-making architecture that contains the main control unit and its subordinate functional modules based on industrial microcontrollers, integrated through an instrument interface, and is equipped with a software unit for visualizing process parameters (Patent for utility model RU #: 90588).

В данном изобретении в основе комплекса лежат аппаратные компоненты, которые не всегда можно легко и оперативно модифицировать, а наличие физической связи обмена между собой функциональных модулей ограничивают возможности по их взаимодействию, т.е. отсутствует возможность расширения функций их взаимодействия при возникновении новых требований к подобному комплексу.In this invention, the complex is based on hardware components that cannot always be easily and quickly modified, and the presence of a physical connection between the exchange of functional modules limits their interaction, i.e. there is no possibility of expanding the functions of their interaction in the event of the emergence of new requirements for such a complex.

Известно изобретение «Комплекс отладки», заключающееся в том, что комплекс отладки программ содержит управляющую вычислительную машину, пульт управления и ЭВМ общего назначения, группу имитаторов входной информации, подключенных входами к ЭВМ общего назначения, а выходами - к управляющей вычислительной машине, синхронизирующий выход которой подключен к синхронизирующему входу пульта управления, который через первую магистральную шину подключен к управляющей вычислительной машине, а через вторую - к ЭВМ общего назначения, сигнальный вход которой объединен с управляющим входом управляющей вычислительной машины и подключен к выходу пульта управления (патент RU 2448363 С1).The invention is known as the Debug Complex, which consists in the fact that the program debug complex contains a controlling 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, the synchronizing output of which connected to the sync input of the control panel, which is connected via the first bus to the control computer, and through the second to a general-purpose computer, signaling the course of which is combined with the control input of the control computer and connected to the output of the control panel (patent RU 2448363 C1).

В данном изобретении так же упор сделан на взаимодействие аппаратных средств, без описания взаимодействия и построения программной составляющей отладочного комплекса, что в конечном итоге усложнит его реализацию и, как следствие, увеличит, как трудозатраты, так и сроки проведения испытаний.In this invention, the emphasis is also placed on the interaction of hardware, without describing the interaction and building the software component of the debugging complex, which ultimately complicates its implementation and, as a result, will increase both labor costs and testing time.

Наиболее близкими к предлагаемому решению по технической сущности является изобретение «СПОСОБ И СИСТЕМА АВТОМАТИЗАЦИИ ТЕСТИРОВАНИЯ ПРОГРАММНОГО ОБЕСПЕЧЕНИЯ», заключающееся в том, что система автоматизации тестирования программного обеспечения включает, по крайней мере, одно устройство пользователя и/или тестировщика, по крайней мере, одну базу данных, по крайней мере, одну базу тестов и программно-аппаратный комплекс, выполненный с возможностью: тестирования программного обеспечения по составленным планам тестирования посредством интерактивного взаимодействия тестировщика с пользовательским интерфейсом тестируемого программного обеспечения, записи указанных действий пользователя в автоматическом режиме в заранее заданных терминах уровня бизнес-логики тестируемого программного обеспечения, сохраняя результаты в базе тестов в качестве тестовых сценариев, записи изменений в базе данных, производимых при выполнении указанных тестовых сценариев, в автоматическом режиме в заранее заданных терминах, присваивая данным изменениям признак «Эталонные изменения» и сохраняя результаты в базе тестов, после изменения программного обеспечения осуществления его регрессионного тестирования, проигрывания тестовых сценариев из базы тестов в автоматическом режиме, записи изменений в базе данных, производимых при выполнении указанных тестовых сценариев, в автоматическом режиме в заранее заданных терминах, присваивая данным изменениям признак «Фактические изменения» и сохраняя результаты в базе тестов, осуществления верификации по каждому тестовому сценарию, сравнивая «Эталонные изменения» и «Фактические изменения» и сохраняя результаты сравнения в базе тестов, формирования списка тестовых сценариев, не прошедших верификацию, при этом под изменениями, не прошедшими верификацию подразумеваются расхождения «Эталонных изменений» и «Фактических изменений» и выполнен дополнительно с возможностью: выявления основных бизнес-процессов, выполняемых с использованием тестируемого программного обеспечения, составления детального плана тестирования выявленных бизнес-процессов, фиксируя варианты интерактивного взаимодействия тестировщика с пользовательским интерфейсом тестируемого программного обеспечения (заявка на патент РФ №2013126869/08), который выбран в качестве прототипа.The closest to the proposed solution to the technical essence is the invention "METHOD AND SYSTEM OF AUTOMATION OF SOFTWARE TESTING", namely, that the software testing automation system includes at least one user device and / or tester, at least one base data, at least one database of tests and software and hardware complex, made with the ability to: test software for test plans by Interactive interaction of the tester with the user interface of the software under test, recording the specified user actions automatically in predetermined terms of the level of the business logic of the software under test, storing the results in the test database as test scenarios, recording changes in the database produced during the execution of the specified test cases. scenarios, in automatic mode in predetermined terms, assigning to these changes the attribute “Reference changes” and storing the results in the test database, after modifying the software for performing its regression testing, playing test scripts from the test database in automatic mode, recording changes in the database made when executing the specified test scripts, in automatic mode in predetermined terms, assigning these changes to the changes “Actual changes” and storing the results in the test database, performing verification for each test scenario, comparing “Reference changes” and “Actual changes ”and saving the results of the comparison in the test database, forming a list of test scenarios that did not pass verification, while changes that did not pass verification imply discrepancies between“ Reference changes ”and“ Actual changes ”and were made additionally with the ability to: identify the main business processes performed using the software under test, drawing up a detailed test plan for the identified business processes, fixing the options for interactive testing Single user interface test software (patent RF №2013126869 / 08), which has been selected as a prototype.

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

- Отсутствие единых и четких требований к программным моделям (имитаторам) взаимодействия с электронным устройством тестируемого ПО, приведет к усложнению реализации программного комплекса и ограничению возможностей по его наращиванию;- The lack of uniform and clear requirements for software models (simulators) of interaction with the electronic device of the software being tested will lead to complication of the implementation of the software package and limiting the possibilities for its development;

- Отсутствие средств визуализации (как основного инструмента предоставления результатов тестирования) для оперативного и гибкого контроля состояния средств моделирования, а так же их данных и сущностей.- Lack of visualization tools (as the main tool for providing test results) for operational and flexible monitoring of the status of modeling tools, as well as their data and entities.

Задачами изобретения являются:The objectives of the invention are:

- унификация программного комплекса, путем выработки единых правил (методов) реализации и модульности построения компонент комплекса (моделей) и изоляции их данных и структур друг от друга и взаимодействие их между собой посредством общего буфера памяти;- unification of the software package, by developing uniform rules (methods) for the implementation and modularity of building components of the complex (models) and isolating their data and structures from each other and interacting with each other through a common memory buffer;

- сокращение сроков разработки и подготовки программного комплекса и моделей функциональных устройств за счет использования единого шаблона функции взаимодействия и диалоговых окон моделей и выработке единых правил их построения и реализации, а так же автоматизации формирования информации для визуализации в базе данных на основе исходных данных на разработку тестируемого ПО;- reduction of development time and preparation of the software complex and models of functional devices due to the use of a single template of the interaction function and model dialog boxes and the development of uniform rules for their construction and implementation, as well as automation of information generation for visualization in the database based on the source data for the development of the test BY;

- повышение эффективности и облегчение тестирования программного обеспечения путем представления и визуализации состояния данных и сущностей каждой модели в виде набора интерфейсов, вызываемых в реальном времени на любом этапе выполнения тестов.- improving the efficiency and facilitating software testing by presenting and visualizing the state of data and entities of each model as a set of interfaces called in real time at any stage of test execution.

Поставленные задачи достигаются тем, что программный комплекс состоит из единой программной среды написания и выполнения тестов, включающей средства написания, редактирования и выполнения тестов, автоматизированного анализа и обработки информации, визуализации данных и сущностей в процессе тестирования и на этапе подготовки к нему, хранения тестовых наборов и подключения их в состав комплекса на любом этапе тестирования, динамической реконфигурации и управления в любой момент времени программным комплексом и его компонентами, выделения общего буфера для взаимодействия подключаемых моделей, защиты и восстановления комплекса при наличии непредвиденных сбоев в процессе его работы, динамически подключаемых моделей функциональных устройств, реализуемых в виде независимых унифицированных программных модулей с заранее определенным единым набором методов и функций, содержащих средства представления и визуализации состояния данных и сущностей, разработанных по единым правилам построения и реализации, базы данных представления данных и сущностей, средств автоматизированного заполнения БД информацией на основе анализа документации, по которой разрабатывается тестируемое ПО.The tasks are achieved by the fact that the software package consists of a unified software environment for writing and executing tests, including tools for writing, editing and executing tests, automated analysis and processing of information, visualization of data and entities in the testing process and at the stage of preparing for it, storing test sets and connecting them to the complex at any stage of testing, dynamic reconfiguration and management at any time by the software complex and its components, highlighted common buffer for interaction of connected models, protection and restoration of the complex in the presence of unforeseen failures during its operation, dynamically connected models of functional devices implemented as independent unified software modules with a predetermined uniform set of methods and functions containing means for presenting and visualizing data state and entities, developed according to uniform rules of construction and implementation, database of data presentation and entities, automated tools ovannogo filling the database with information based on the analysis of the documentation for which the tested software is developed.

На чертеже (фиг. 1) представлена структурная схема реализации программного комплекса.In the drawing (Fig. 1) a block diagram of the implementation of the software package is presented.

Программный комплекс реализуется следующим образом:The software package is implemented as follows:

Программный комплекс состоит из единой среды написания, редактирования и выполнения тестов, моделей функциональных устройств осуществляющих взаимодействие с электронным устройством со встроенным ПО посредством плат расширения, базы данных, средств автоматизированного анализа информации и заполнения базы данных.The software package consists of a unified environment for writing, editing and executing tests, models of functional devices interacting with an electronic device with firmware using expansion cards, a database, automated information analysis tools, and populating a database.

Единая программная среда написания и выполнения тестов реализуется в виде единого пользовательского интерфейса, который содержит средства написания, редактирования и выполнения тестов, средства анализа и обработки информации, средства визуализации данных и сущностей как собственных, так и моделей функциональных устройств на любом этапе тестирования, средства управления хранением тестовых наборов и подключения их в состав комплекса на любом этапе испытаний, средства динамической реконфигурации и управления в любой момент времени программным комплексом и любых компонент входящих в его состав, средства защиты и восстановления комплекса при наличии непредвиденных сбоев в процессе его работы. Единая программная среда написания и выполнения тестов обеспечивает выделение буфера памяти для межмодельного взаимодействия, с возможностью расширения такого взаимодействия по мере поступления новых требований к моделям или добавление новых моделей в состав комплекса.A common software environment for writing and executing tests is implemented as a single user interface that contains tools for writing, editing and executing tests, tools for analyzing and processing information, tools for visualizing data and entities of both our own and functional device models at any stage of testing, management tools storing test kits and connecting them to the complex at any stage of testing, means of dynamic reconfiguration and control at any time, program complex and any component in its composition, the protection and recovery of the complex in the presence of unexpected failures during its operation. A common software environment for writing and executing tests provides for allocating a memory buffer for intermodel interaction, with the possibility of expanding such interaction as new requirements for models become available or new models are added to the complex.

Модели функциональных устройств реализуются в виде независимых унифицированных программных модулей с заранее определенным единым набором методов и функций и средствами визуализации и представления состояния их внутренних данных и сущностей, разработанных по единым правилам построения и реализации, и управляемых программной средой выполнения тестов в реальном времени на любом этапе тестирования.Functional device models are implemented as independent unified software modules with a predetermined single set of methods and functions and visualization tools and presentation of the state of their internal data and entities, developed according to uniform rules of construction and implementation, and controlled by the software environment for running tests in real time at any stage testing.

БД содержит информацию, включающую в себя параметры программного комплекса и информацию необходимую для визуализации и предоставления данных и сущностей программного комплекса на любом этапе испытаний. БД реализуется в виде набора связанных таблиц в соответствии с определенным типом назначения и использования, с привязкой к определенным видам тестируемого ПО.The database contains information that includes the parameters of the software package and the information necessary to visualize and provide data and entities of the software package at any stage of the test. A 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 software being tested.

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

Программный комплекс работает следующим образом:The program complex works as follows:

В программе управления БД заносится основная информация по тестируемому ПО электронного устройства (принадлежность прибора и идентификатор ПО, который является уникальным для любого ПО электронного устройства).In the database management program, the main information on the tested software of the electronic device (device ownership and software identifier that is unique for any software of the electronic device) is entered.

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

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

Пользователь запускает единую программную среду (ЕПС) написания, редактирования и выполнения тестов. ЕПС по запуску определяет доступность сервера хранения тестовых наборов и выполняет подключение к нему в режиме доступа на запись и чтение (по умолчанию режим доступа только на чтение, для несанкционированного изменения данных на нем). Далее она осуществляет конфигурацию внутренних структур и данных, выделение общего буфера для межмодельного взаимодействия и на основе идентификатора ПО выполняет подключение соответствующих моделей функциональных устройств, с передачей каждой модели параметров их конфигурации (данные предыдущей конфигурации, текущий выбранный идентификатор ПО, описатель буфера памяти для межмодельного взаимодействия, и другие параметры необходимые для настройки модели и запуска потока(ов), моделирующего(их) работу модели).The user launches a unified software environment (ENP) for writing, editing and executing tests. The ENP on startup determines the availability of the test case storage server and connects to it in read / write access mode (by default, read-only access mode, for unauthorized changing data on it). Further, it configures internal structures and data, allocates a common buffer for intermodel interaction and, based on the software identifier, connects the corresponding functional device models, passing each model of their configuration parameters (data of the previous configuration, current selected software identifier, descriptor of the memory buffer for intermodel interaction , and other parameters necessary to configure the model and run the stream (s), simulating (their) model operation).

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

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

В режиме «Рабочий» представлен инструмент для выполнения тестовых наборов, в нескольких режимах: одиночного прогона, бесконечного зацикливания, и пошагового выполнения, а так же представлены средства выполняющие функции точек останова, для выполнения тестового набора до указанной позиции.In the “Work” mode, a tool for performing test sets is presented, in several modes: single-pass, infinite looping, and step-by-step execution, as well as tools that act as breakpoints for running a test set to a specified position.

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

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

- скопировать/переместить тестовый набор с сервера при этом выбрав из перечня доступных наборов по принадлежности к версиям ПО;- copy / move the test set from the server while selecting from the list of available sets by belonging to the software versions;

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

- просмотреть полный список тестов, как в рабочем каталоге, так и на сервере.- view the full list of tests, both in the working directory and on the server.

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

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

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

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

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

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

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

Так же каждая модель протоколирует в своем локальном буфере информацию за весь период работы ЕПС (прием команд, сигналов, воздействия как со стороны электронного устройства, так и со стороны ЕПС), что позволяет на любом этапе проконтролировать, что происходило с каждой моделью, например до того как было зафиксировано не прохождение теста, что облегчает анализ состояния тестируемого ПО в процессе выполнения теста.Also, each model logs information in its local buffer for the entire period of the ENP operation (reception of commands, signals, effects from both the electronic device and the ENP), which allows to control at any stage what happened to each model, for example how it was recorded not passing the test, which facilitates the analysis of the state of the tested software during the test.

Для редактирования тестов в ЕПС представлен базовый набор операций для тестирования, с возможностью его расширения:To edit tests in the ENP is presented a basic set of operations for testing, with the possibility of its expansion:

- сообщение обычное - обращение к модели для записи или чтения данных;- normal message - access to the model for writing or reading data;

- сообщение системное - выполнение действий пользователя (переключение режимов работы, управление моделью и т.д.);- system message - execution of user actions (mode switching, model control, etc.);

- пауза - останов процесса выполнения тестирования на время паузы;- pause - stop the testing process for a pause;

- контроль слов данных - побитный контроль полученной, в ходе выполнения теста, информации;- control of data words - bit-by-bit control of the information obtained during the test;

- комментарий (не в отчет) - отображение текста в циклограмме (при выполнении в отчет не попадает);- comment (not in the report) - display of the text in the sequence diagram (it does not enter the report when executed);

- предупреждение - вывод сообщения на экран с остановкой выполнения циклограммы до закрытия сообщения;- warning — displays a message on the screen with the cyclogram execution stopped until the message is closed;

- циклограмма - выбор вложенной циклограммы;- cyclogram - selection of the enclosed cyclogram;

- комментарий служебный - отображение текста в циклограмме, а при ее выполнении отображается в протоколе;- service comment - display of the text in the sequence diagram, and when it is executed, is displayed in the protocol;

- ожидание события - организация таймера ожидания событий в выбранной модели, с указанием количества ожидаемых событий. Позволяет за синхронизировать ход выполнения тестируемого ПО с ходом прохождения теста, что обеспечивает наиболее точное взаимодействие и воздействие на тестируемое ПО;- event waiting - organization of the event waiting timer in the selected model, indicating the number of expected events. Allows you to synchronize the progress of the test software with the progress of the test, which provides the most accurate interaction and impact on the software being tested;

- контроль массива - контроль полученной, в ходе выполнения теста, информации с привязкой к месту (позиции) нахождения контролируемых данных в массиве;- control of the array - control of the information obtained during the test with reference to the place (position) of the controlled data in the array;

- контроль данных в массиве - контроль полученной, в ходе выполнения теста, информации без привязки к месту (позиции) нахождения контролируемых данных в массиве;- control of data in the array - control of information obtained during the test, without reference to the place (position) of the controlled data in the array;

- контроль слов данных на диапазон - контроль полученной, в ходе выполнения теста, информации на вхождение в заданный диапазон.- control of data words on a range - control of information received during the test, for entering a specified range.

Доступные в процессе тестирования для пользователя средства визуализации тестирования представляется в виде набора графического сопровождения, который включает базовые средства: выделение цветом типов операций, подсветка хода выполнения тестирования, выделение операций не прохождения, выделение определенной информации не прошедшей контроль и т.д., так и комплексные средства представления информации (например, отображение положения Солнца в пространстве при моделировании приборов в режиме солнечной ориентации КА, относительно виденья его через прибор «датчик наличия солнца», с фиксацией и отображением каждой точки такого пути на плоскости и отображением всех параметров ориентации в реальном времени).The test visualization tools available to the user for testing are presented in the form of a graphic accompaniment set that includes the basic tools: color highlighting types of operations, highlighting testing progress, highlighting non-passing operations, highlighting certain information that did not pass control, etc., and complex means of presenting information (for example, mapping the position of the Sun in space when modeling instruments in the mode of solar orientation of a spacecraft, relative to rd it through the device "presence sensor sun", and latch the display of each point of this path in the plane orientation and display of all the parameters in real time).

Унификация программного комплекса достигается путем выработки единых правил (методов) реализации и модульности построения компонент комплекса (моделей) и изоляции их данных и структур друг от друга и взаимодействие их между собой посредством общего буфера памяти.The unification of a software package is achieved by developing uniform rules (methods) for the implementation and modularity of building components of a complex (models) and isolating their data and structures from each other and interacting with each other through a common memory buffer.

Сокращение сроков разработки и подготовки программного комплекса и моделей функциональных устройств достигается за счет использования единого шаблона функции взаимодействия и диалоговых окон моделей и выработке единых правил их построения и реализации, а так же автоматизированными средствами анализа информации и заполнения БД.Reduction of the development time and preparation of the software complex and functional device models is achieved through the use of a single template for the interaction function and model dialog boxes and the development of common rules for their construction and implementation, as well as automated tools for analyzing information and filling in the database.

Повышение эффективности и облегчение тестирования программного обеспечения обеспечивается путем визуализации представления состояния данных каждой модели в виде диалоговых окон или «метафор» - тематических сюжетов, отражающих общий ход тестирования и состояния данных и сущностей, вызываемых в реальном времени на любом этапе выполнения тестов.Improving the efficiency and ease of software testing is provided by visualizing the presentation of the state of each model's data in the form of dialog boxes or “metaphors” - thematic plots reflecting the general testing progress and the state of data and entities called in real time at any stage of test execution.

С использованием данного комплекса проведено тестирование встроенного ПО блоков управления бортового комплекса управления перспективных КА производства АО «ИСС». За счет унифицированного подхода к построению программного комплекса и единого шаблона функций взаимодействия и диалоговых окон моделей отмечено существенное сокращение объема работы программиста при реализации комплекса и подготовке его для тестирования программного обеспечения, а так же показано наличие возможности для дальнейшего расширения его функционала в будущем. Наличие средств визуализации тестирования, реализованные в программном комплексе, обеспечило гибкость и легкость тестирования программного обеспечения, снизив трудоемкость специалистов и сократив общее время тестирования.With the use of this complex, the embedded software of the control units of the onboard control complex of prospective spacecraft manufactured by ISS JSC was tested. Due to a unified approach to building a software package and a single template for interaction functions and model dialog boxes, a significant reduction in the programmer’s workload during the implementation of the complex and its preparation for software testing was noted, as well as the possibility was shown for further expansion of its functionality in the future. The availability of test visualization tools implemented in the software package ensured the flexibility and ease of software testing, reducing the laboriousness of specialists and reducing the total testing time.

Из известных заявителю патентно-информационных материалов не обнаружены признаки, сходные с совокупностью признаков заявляемого изобретения.Of the patent information materials known to the applicant, no signs were found that are similar to the set of features of the claimed invention.

Claims (1)

Комплекс автоматизации и визуализации тестирования встроенного программного обеспечения электронных устройств, заключающийся в том, что программный комплекс выполнен с возможностью тестирования программного обеспечения, составления тестовых сценариев и с сохранением их в базе данных в качестве эталонных, формирования базы тестов, получения фактических значений, сравнения эталонных и фактических значений и с возможностью выявления основных бизнес-процессов, выполняемых с использованием тестируемого программного обеспечения, составления детального плана тестирования выявленных бизнес-процессов, фиксируя варианты интерактивного взаимодействия пользователя с пользовательским интерфейсом тестируемого программного обеспечения, отличающийся тем, что программный комплекс включает единую программную среду написания и выполнения тестов, содержащую средства написания, редактирования и выполнения тестов, автоматизированного анализа и обработки информации, визуализации данных и сущностей в процессе тестирования и на этапе подготовки к нему, хранения тестовых наборов и подключения их в состав комплекса на любом этапе тестирования, динамической реконфигурации и управления в любой момент времени программным комплексом и любых компонент, входящих в его состав, выделения общего буфера для взаимодействия подключаемых моделей и произвольную их реконфигурацию, как в ручном режиме, так и во время выполнения тестов, защиты и восстановления комплекса при наличии непредвиденных сбоев в процессе его работы, динамически подключаемые модели функциональных устройств, реализуемые в виде независимых унифицированных программных модулей с заранее определенным единым набором методов и функций и средствами визуализации и представления состояния их внутренних данных и сущностей, разработанных по единым правилам построения и реализации на базе унифицированного шаблона и вызываемых из единой программной среды написания и выполнения тестов, базу данных хранения представлений данных и сущностей, средства автоматизированного заполнения базы данных информацией на основе анализа документации, по которой разрабатывается тестируемое программное обеспечение.Complex automation and visualization testing of embedded software of electronic devices, which consists in the fact that the software package is designed to test software, create test scenarios and store them in the database as a reference, build a database of tests, obtain actual values, compare reference and actual values and with the ability to identify the main business processes that are performed using the tested software making a detailed plan for testing the identified business processes, fixing options for user interaction with the user interface of the software being tested, characterized in that the software package includes a unified software environment for writing and executing tests, containing tools for writing, editing and executing tests, automated analysis and information processing , visualization of data and entities in the process of testing and at the stage of preparation for it, storage of 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 the interaction of connected models and their arbitrary reconfiguration, both in manual mode and during the execution of tests, protection and restoration of the complex in the presence of unforeseen failures in the course of its operation, dynamically connected models of functional devices, implemented as independent unified These software modules with a predefined uniform set of methods and functions and visualization tools and presentation of the state of their internal data and entities, developed according to uniform rules for building and implementing a unified template and called from a single software environment for writing and executing tests, a database for storing data representations and entities, means of automated database filling with information based on the analysis of the documentation on which the software being tested is developed provision of.
RU2017138949A 2017-11-09 2017-11-09 Method for building a software system for automating and visualizing testing of embedded software for electronic devices RU2678717C9 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
RU2017138949A RU2678717C9 (en) 2017-11-09 2017-11-09 Method for building a software system for automating and visualizing testing of embedded software for electronic devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
RU2017138949A RU2678717C9 (en) 2017-11-09 2017-11-09 Method for building a software system for automating and visualizing testing of embedded software for electronic devices

Publications (2)

Publication Number Publication Date
RU2678717C1 RU2678717C1 (en) 2019-01-31
RU2678717C9 true RU2678717C9 (en) 2019-04-12

Family

ID=65273403

Family Applications (1)

Application Number Title Priority Date Filing Date
RU2017138949A RU2678717C9 (en) 2017-11-09 2017-11-09 Method for building a software system for automating and visualizing testing of embedded software for electronic devices

Country Status (1)

Country Link
RU (1) RU2678717C9 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2729210C1 (en) * 2020-01-28 2020-08-05 Акционерное общество «Информационные спутниковые системы» имени академика М.Ф. Решетнёва» Electronic devices software testing system
RU2783906C1 (en) * 2022-01-24 2022-11-21 Акционерное общество "Информационные спутниковые системы" имени академика М.Ф. Решетнёва" Complex for testing embedded software of electronic devices

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111708824A (en) * 2020-06-17 2020-09-25 龙芯中科技术有限公司 Data processing method, device, equipment and storage medium
RU2744438C1 (en) * 2020-08-03 2021-03-09 Акционерное Общество «Эшелон - Северо-Запад» System and method for forming optimal set of tests for identifying software bugs
CN116501650B (en) * 2023-06-27 2023-09-12 航天科工火箭技术有限公司 Method, device and medium for executing carrier rocket measurement and control flow engine

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1236104A1 (en) * 1999-11-10 2002-09-04 Tenfold Corporation Method for computer-assisted testing of software application components
US20080184206A1 (en) * 2007-01-31 2008-07-31 Oracle International Corporation Computer-implemented methods and systems for generating software testing documentation and test results management system using same
EP2133795A1 (en) * 2008-06-11 2009-12-16 Software AG System and method for testing a software product
RU90588U1 (en) * 2008-11-14 2010-01-10 Евгений Сергеевич Самарцев HARDWARE AND SOFTWARE COMPLEX OF AUTOMATION, MANAGEMENT, VISUALIZATION AND MONITORING OF TECHNOLOGICAL PROCESSES
RU2448363C1 (en) * 2010-08-05 2012-04-20 Федеральное государственное унитарное предприятие "Научно-производственное объединение автоматики имени академика Н.А. Семихатова" Debugging system
RU2013126869A (en) * 2013-06-13 2014-12-20 Закрытое акционерное общество "Центр финансовых технологий" METHOD AND SYSTEM OF AUTOMATION OF TESTING SOFTWARE

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1236104A1 (en) * 1999-11-10 2002-09-04 Tenfold Corporation Method for computer-assisted testing of software application components
US20080184206A1 (en) * 2007-01-31 2008-07-31 Oracle International Corporation Computer-implemented methods and systems for generating software testing documentation and test results management system using same
EP2133795A1 (en) * 2008-06-11 2009-12-16 Software AG System and method for testing a software product
RU90588U1 (en) * 2008-11-14 2010-01-10 Евгений Сергеевич Самарцев HARDWARE AND SOFTWARE COMPLEX OF AUTOMATION, MANAGEMENT, VISUALIZATION AND MONITORING OF TECHNOLOGICAL PROCESSES
RU2448363C1 (en) * 2010-08-05 2012-04-20 Федеральное государственное унитарное предприятие "Научно-производственное объединение автоматики имени академика Н.А. Семихатова" Debugging system
RU2013126869A (en) * 2013-06-13 2014-12-20 Закрытое акционерное общество "Центр финансовых технологий" METHOD AND SYSTEM OF AUTOMATION OF TESTING SOFTWARE

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2729210C1 (en) * 2020-01-28 2020-08-05 Акционерное общество «Информационные спутниковые системы» имени академика М.Ф. Решетнёва» Electronic devices software testing system
RU2783906C1 (en) * 2022-01-24 2022-11-21 Акционерное общество "Информационные спутниковые системы" имени академика М.Ф. Решетнёва" Complex for testing embedded software of electronic devices

Also Published As

Publication number Publication date
RU2678717C1 (en) 2019-01-31

Similar Documents

Publication Publication Date Title
RU2678717C9 (en) Method for building a software system for automating and visualizing testing of embedded software for electronic devices
US9754059B2 (en) Graphical design verification environment generator
US9239773B1 (en) Method and system for debugging a program that includes declarative code and procedural code
US20120117537A1 (en) Flow Chart Programming Platform for Testers and Simulators
TWI566090B (en) Debugging firmware / software to produce tracking systems and methods, recording media and computer program products
US20200104246A1 (en) Continuous automation with test suite engine
CN111859834A (en) UVM-based verification platform development method, system, terminal and storage medium
Nidagundi et al. New method for mobile application testing using lean canvas to improving the test strategy
CN106093897B (en) A kind of the test system and test method of radar system
RU2729210C1 (en) Electronic devices software testing system
EP2831741A1 (en) Constructing test-centric model of application
Cai et al. Analysis for cloud testing of web application
US10579761B1 (en) Method and system for reconstructing a graph presentation of a previously executed verification test
Pavlov et al. Framework for testing service compositions
Bhatt et al. Digital twin framework and its application for protection functions testing of relays
CN112765018B (en) Instrument and meter debugging system and method
Canny et al. Engineering model-based software testing of WIMP interactive applications: a process based on formal models and the SQUAMATA tool
CN114625448A (en) Flow generation method and device combining RPA and AI, electronic equipment and storage medium
US10339229B1 (en) Simulation observability and control of all hardware and software components of a virtual platform model of an electronics system
RU2783906C1 (en) Complex for testing embedded software of electronic devices
Talib et al. Scenario-based Black Box Testing in COSMIC-FFP: a case study
Rover et al. Software tools for complex distributed systems: Toward integrated tool environments
RU2817186C1 (en) System for confirming tests and testing embedded software of electronic devices
KR100928895B1 (en) Tool generator for control system development
CN114692382B (en) Management method and device for nuclear power simulation model development data and computer equipment

Legal Events

Date Code Title Description
TH4A Reissue of patent specification
TK4A Correction to the publication in the bulletin (patent)

Free format text: CORRECTION TO CHAPTER -FG4A- IN JOURNAL 4-2019 FOR INID CODE(S) (54)