A flat chart technique for embedded OS testing
Автор: Nikiforov V.V., Baranov S.N.
Журнал: Труды Института системного программирования РАН @trudy-isp-ran
Статья в выпуске: 5 т.29, 2017 года.
Бесплатный доступ
Modern automatic devices are more and more equipped with microcontroller units. The logic of work of the automatic equipment is supported by a number of various embedded software applications, which run under an embedded real-time operating system (OS). The OS reliability is extremely important for correct functionality of the whole automatic system. Therefore, the embedded OS should be tested thoroughly with an appropriate automated test suite. Such test suite for testing of an embedded OS is usually organized as a set of multi-task test applications to be executed in a data-driven manner. The paper features a special language to define the respective testing task logic and the concept of flat charts to efficiently perform an embedded OS execution-based testing. To avoid heavy interpreting of text strings during the test run, the respective test presentation is pre-processed in order to convert the initial string form into a regular array form and thus to increase its efficiency.
Embedded applications, operating systems, software testing, real-time systems
Короткий адрес: https://sciup.org/14916482
IDR: 14916482 | DOI: 10.15514/ISPRAS-2017-29(5)-5
Техника плоских схем для тестирования встроенных операционных систем
Современные автоматические устройства все чаще оснащаются микроконтроллерами. Логика работы автоматического оборудования поддерживается рядом различных встроенных программных приложений, которые выполняются под управлением встроенной операционной системы реального времени (ОС). Надежность ОС чрезвычайно важна для правильной работы всей автоматической системы. Поэтому встроенную ОС следует тщательно тестировать с помощью соответствующего набора автоматических тестов. Такой набор тестов для тестирования встроенной ОС обычно организуется как набор многозадачных тестовых приложений, которые должны выполняться под управлением данных. В статье представлены специальный язык для определения соответствующей логики задачи тестирования и концепция плоских съем для эффективного выполнения тестирования встроенной ОС. Чтобы избежать интенсивной интерпретации текстовых строк во время тестового прогона, предварительно образуется специальное представление теста, в котором исходная строковая форма преобразуется в форму регулярного массива и, таким образом, повышается эффективность тестирования. Ключевые слова: встроенные приложения; операционные системы; тестирование программного обеспечения; системы реального времени
Список литературы A flat chart technique for embedded OS testing
- Li Q., Yao C. Real-time concepts for embedded systems. CRC Press (2003).
- Thane H., Hansson H. Testing distributed real-time systems. Microprocessors and Mi-crosystems 24(9), 463-478 (2001).
- Desikan S. Software testing: principles and practice. Pearson Education India (2006).
- Myers G.J., Sandler C., Badgett T. The art of software testing. 3rd Edition. John Wiley & Sons, New York (2011).
- Hailpern B., Santhanam P. Software debugging, testing, and verification. IBM Systems Journal 41(1), 4-12 (2002).
- Brodie L. Thinking Forth. Punchy Pub (2004).
- Biswal B. N. Pragyan N., Durga P. M. A novel approach for scenario-based test case generation. In: International Conference on Information Technology 2008 (ICIT'08). IEEE, (2008).
- Lefticaru R., Florentin I. Automatic state-based test generation using genetic algorithms. In: International Symposium on Symbolic and Numeric Algorithms for Scientific Computing (SYNASC 2007)
- Comer D. Operating System Design: The Xinu Approach, 2nd Edition. -Boca Raton: CRC Press, Taylor & Francis Group, 668 p. (2015).