07.01.2013 Views

Lecture Notes in Computer Science 3472

Lecture Notes in Computer Science 3472

Lecture Notes in Computer Science 3472

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

230 Laura Brandán Briones and Mathias Röhl<br />

8.6 Summary<br />

All three approaches use timed automata with a dense time model for test<strong>in</strong>g<br />

real-time systems. All need to partition the uncountable state space of the semantics<br />

of (networks of) timed automata <strong>in</strong>to a f<strong>in</strong>ite number of states considered<br />

equivalent.<br />

Nielsen and Skou use coarse-gra<strong>in</strong>ed doma<strong>in</strong>s [NS03]. A fully automatic<br />

method for the generation of real-time test sequences from a subclass of timed<br />

automata called event-record<strong>in</strong>g automata is proposed. The technique is based<br />

on the symbolic analysis of timed automata <strong>in</strong>spired by the UPPAAL modelchecker.<br />

Test sequences are selected by cover<strong>in</strong>g a coarse equivalence class partition<strong>in</strong>g<br />

of the state space. They argue that the approach provides a heuristic that<br />

guarantees that a well-def<strong>in</strong>ed set of <strong>in</strong>terest<strong>in</strong>g scenarios <strong>in</strong> the specification has<br />

been automatically, completely, and systematically explored.<br />

Spr<strong>in</strong>g<strong>in</strong>tveld, Vaandrager and D’Argenio proved that exhaustive test<strong>in</strong>g with<br />

respect to bisimulation 3 of determ<strong>in</strong>istic timed automata with a dense time <strong>in</strong>terpretation<br />

is theoretically possible [SVD01]. Test<strong>in</strong>g of timed systems is described<br />

as a variant of the bounded time-doma<strong>in</strong> automaton (TA). The TA describ<strong>in</strong>g<br />

the specification is transformed <strong>in</strong>to a region automaton, which <strong>in</strong> turn is transformed<br />

<strong>in</strong>to another f<strong>in</strong>ite state automaton, referred to as a Grid Automaton.<br />

Test sequences are then generated from the Grid Automaton. The idea beh<strong>in</strong>d<br />

the construction of the Grid Automaton is to represent each clock region with<br />

a f<strong>in</strong>ite set of clock valuations, referred to as the representatives of the clock<br />

region. However, although be<strong>in</strong>g exact, their grid method is impractical because<br />

it generates “an astronomically large number of test sequences” [SVD01].<br />

Cardell-Oliver presents a test<strong>in</strong>g method for networks of determ<strong>in</strong>istic timed<br />

automata extended with <strong>in</strong>teger data variables [CO00]. Check<strong>in</strong>g of trace equivalence<br />

is done only for parts of a system that are visibly observable. In addition to<br />

the usual time-discretization test views are used to discrim<strong>in</strong>ate between states<br />

depend<strong>in</strong>g on a test-purpose. Test views partition variables and events <strong>in</strong>to visible<br />

and hidden ones. Equivalence on visible clocks and variables <strong>in</strong>duces an<br />

equivalence relation on states. States that are evidently different, i.e. that are <strong>in</strong><br />

different visible equivalence classes, need not be dist<strong>in</strong>guished from each other.<br />

This significantly reduces the length of test suites.<br />

specs time det. τ network impl. rel. based on exhaustive<br />

[NS03] ERA R >0 √<br />

trace <strong>in</strong>clusion test<strong>in</strong>g preorder<br />

>0 √<br />

√<br />

[SVD01] TIOA R bisimulation Wmethod<br />

>0 √ √ √<br />

[CO00] UTA R bisimulation Wmethod<br />

Table 8.1. Comparison<br />

In practice, time resources used for test case generation and execution should<br />

be as small as possible and test coverage as high as possible. This general need on<br />

3 In the case of determ<strong>in</strong>ism, bisimulation and trace equivalence co<strong>in</strong>cide [vG01]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!