Testing embedded real-time systems

An embedded real-time system consists of a number of components (processes) that run concurrently and communicate with each other under predefined timing constraints. The correctness of such systems is important, since they are used in an increasingly number of safety-critical systems. To improve the quality of these systems, two techniques can be used, namely verification of the specification and testing of the implementation. In this paper, we consider the testing of embedded real-time components. In our model, the system is modeled as a set of communicating timed input-output automata (CTIOA). One CTIOA specifies the component to be tested and the remaining CTIOAs represent the context. The relationship between the component to be tested and the other ones should be taken into account for test case generation. We discuss how testing in context differs from testing in isolation. We review the fault model in the context of CTIOA and we propose an approach for test case generation from an embedded CTIOA. This approach consists of three steps. First, we avoid the composition of all machines by selecting, based on a specific criterion, only some parts of the CTIOA's context that affect (or are affected by) the specification. Then we determine the partial product of the specification and the selected parts of the context. Finally, we apply the timed Wp-method (A. En-Nouaary et al., 1998) to the resulting timed input-output automata. The quality of the resulting partial product is strongly dependent on the criterion used to select the parts of the context to consider in test case generation.

[1]  Ferhat Khendek,et al.  Timed test cases generation based on state characterization technique , 1998, Proceedings 19th IEEE Real-Time Systems Symposium (Cat. No.98CB36279).

[2]  Frits W. Vaandrager,et al.  Minimizable Timed Automata , 1996, FTRTFT.

[3]  Ana Cavalli,et al.  A Pragmatic Approach to Generating Test Sequences for Embedded Systems , 1997 .

[4]  I. Lee,et al.  Automatic generation of tests for timing constraints from requirements , 1997, Proceedings Third International Workshop on Object-Oriented Real-Time Dependable Systems.

[5]  Nina Yevtushenko,et al.  Testing in context: framework and test derivation , 1996, Comput. Commun..

[6]  Ferhat Khendek,et al.  Test Selection Based on Finite State Models , 1991, IEEE Trans. Software Eng..

[7]  Wang Yi,et al.  Time Abstracted Bisimiulation: Implicit Specifications and Decidability , 1993, MFPS.

[8]  P. Merlin,et al.  Recoverability of Communication Protocols - Implications of a Theoretical Study , 1976, IEEE Transactions on Communications.

[9]  Rachida Dssouli,et al.  A Guided Incremental Test Case Generation Procedure for Conformance Testing for CEFSM Specified Protocols , 1998, IWTCS.

[10]  Alan C. Shaw,et al.  Communicating Real-Time State Machines , 1992, IEEE Trans. Software Eng..

[11]  Karlis Cerans,et al.  Decidability of Bisimulation Equivalences for Parallel Timer Processes , 1992, CAV.

[12]  Rajeev Alur,et al.  A Theory of Timed Automata , 1994, Theor. Comput. Sci..

[13]  Alexandre Petrenko,et al.  Test Selection Based on Communicating Nondeterministic Finite-State Machines Using a Generalized WP-Method , 1994, IEEE Trans. Software Eng..

[14]  Nancy A. Lynch,et al.  Using mappings to prove timing properties , 1990, PODC '90.

[15]  Ferhat Khendek,et al.  Fault coverage in testing real-time systems , 1999, Proceedings Sixth International Conference on Real-Time Computing Systems and Applications. RTCSA'99 (Cat. No.PR00306).

[16]  Frits W. Vaandrager,et al.  Testing timed automata , 1997, Theor. Comput. Sci..

[17]  Giuseppe Scollo,et al.  Lotos specifications, their implementations and their tests , 1995 .