Title :
Formal Model-Based Test for AUTOSAR Multicore RTOS
Author :
Fang, Ling ; Kitamura, Takashi ; Do, Thi Bich Ngoc ; Ohsaki, Hitoshi
Author_Institution :
Nat. Inst. of Adv. Ind. Sci. & Technol., Tsukuba, Japan
Abstract :
AUTOSAR multicore RTOS is a safety-critical concurrent system, for which high quality is required. A conformance test is important to ensure the quality of the software, but the conventional test is low in coverage and high in cost. In this paper, we present a formal model-based test for multicore RTOS that supports AUTOSAR specifications. First, we developed a formal model. With the model, we developed a test case generator, from which an entire test suite can be extracted. Moreover, we proposed a test program generator, with which optimal executable test programs can be generated fully automatically. Both of the generators are assisted with model checking on the formal model. Bug analysis also becomes easy. Our method demonstrated its advantage over conventional testing by finding 33 test cases for three system service calls, whereas a conventional test carried out by a development team found only 10 test cases. Our method can improve the coverage of the test, clearly saving in cost and development time. It is expected to significantly improve the testing of the AUTOSAR multicore RTOS.
Keywords :
conformance testing; formal specification; program debugging; program testing; safety-critical software; software quality; AUTOSAR multicore RTOS; AUTOSAR specification; bug analysis; conformance test; formal model-based test; model checking; optimal executable test program; safety-critical concurrent system; software quality; test case generator; test program generator; Concrete; Generators; Multicore processing; Operating systems; Static VAr compensators; System recovery; Testing; AUTOSAR multicore RTOS; SPIN; model checking; model-based test; test automation;
Conference_Titel :
Software Testing, Verification and Validation (ICST), 2012 IEEE Fifth International Conference on
Conference_Location :
Montreal, QC
Print_ISBN :
978-1-4577-1906-6
DOI :
10.1109/ICST.2012.105