Content area
Full Text
Int J Softw Tools Technol Transfer (2014) 16:247267 DOI 10.1007/s10009-013-0283-0
TTCN-3
Testing hybrid systems with TTCN-3 embedded
An extension of the TTCN-3 language
Juergen Grossmann
Published online: 11 July 2013 Springer-Verlag Berlin Heidelberg 2013
Abstract A testing language typically provides a set of test automation statements that allows for a systematic denition and automatic application of stimulation data (i.e. messages or signals) to a system under test. Moreover, it eases the assessment of the systems reaction by providing customizable evaluation statements and functions. TTCN-3, the Testing and Test Control Notation, already provides universal and powerful concepts to describe tests for discrete, message-based systems. However, software-based control systems that are used to control physical processes often show continuous quantities that can be only poorly stimulated and assessed by means of the currently available language constructs in TTCN-3. In this article, we show how this problem can be solved by extending the TTCN-3 language. We introduce an extension of TTCN-3, namely TTCN-3 embedded, that provides concepts and constructs that directly address the specication of tests for continuous and hybrid real time systems. The extension includes the notion of streams that can be used to represent continuous quantities over time. In addition,TTCN-3 has been extended with the concepts of stream-based ports, sampling, equation systems, and with additional control ow structures. The concepts are integrated with standard TTCN-3 and allow for dening test cases that handle continuous quantities, as well as discrete state changes and the exchange of messages within the same concept space. The feasibility of the approach is shown by providing a small example from the automotive industry.
Keywords Hybrid systems Testing Standardization
TTCN-3 Automotive
J. Grossmann (B)
Fraunhofer FOKUS, Berlin, Germanye-mail: [email protected]
1 Introduction
The development of comfortable, and reliable systems is now more than ever driven by software-intensive embedded systems thatamong other thingsshow controllers, sensors and actuators that are used to interact with the physical environment. Especially in the automotive industry but also in other transport domains such as aircraft and the railway, we can easily nd systems that consist of more than 50 different Electronic Control Units (ECU). These subsystems are connected by different bus systems and interoperate in a distributed environment. In addition, new development paradigms such as AUTOSAR [4] strongly emphasize software...