Title :
Model-Based Test Suite Generation for Function Block Diagrams Using the UPPAAL Model Checker
Author :
Enoiu, Eduard Paul ; Sundmark, Daniel ; Pettersson, Paul
Author_Institution :
Malardalen Real-Time Res. Centre (MRTC), Malardalen Univ., Vasteras, Sweden
Abstract :
A method for model-based test generation of safety-critical embedded applications using Programmable Logic Controllers and implemented in a programming language such as Function Block Diagram (FBD) is described. The FBD component model is based on the IEC 1131 standard and it is used primarily for embedded systems, in which timeliness is an important property to be tested. Our method involves the transformation of FBD programs with timed annotations into timed automata models which are used to automatically generate test suites. Specifically we demonstrate how to use model transformation for formalization and model-checking of FBD programs using the UPPAAL tool. Many benefits emerge from this method, including the ability to automatically generate test suites from a formal model in order to ensure compliance to strict quality requirements including unit testing and specific coverage measurements. The approach is experimentally assessed on a train control system in terms of consumed resources.
Keywords :
IEC standards; automata theory; control engineering computing; formal verification; object-oriented programming; program testing; programmable controllers; programming languages; safety-critical software; FBD component model; FBD programs; IEC 1131 standard; UPPAAL model checker; UPPAAL tool; consumed resources; coverage measurements; embedded systems; formal model; formalization; function block diagrams; model transformation; model-based test generation; model-based test suite generation; programmable logic controllers; programming language; quality requirements; safety-critical embedded applications; timed annotations; timed automata models; train control system; unit testing; Automata; IEC standards; Iron; Software; Testing; Timing; function block diagram; model based testing; plc; structural coverage; test case generation; timed automata;
Conference_Titel :
Software Testing, Verification and Validation Workshops (ICSTW), 2013 IEEE Sixth International Conference on
Conference_Location :
Luxembourg
Print_ISBN :
978-1-4799-1324-4
DOI :
10.1109/ICSTW.2013.27