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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Part II<br />

Test<strong>in</strong>g of Labeled Transition Systems<br />

This part of the book is concerned with the theory of model-based test<strong>in</strong>g where<br />

real systems are assumed to be modeled as labeled transition systems (and extensions<br />

thereof). Labeled transition systems were proposed by Keller [Kel76]<br />

and are widely used as underly<strong>in</strong>g models for data-<strong>in</strong>tensive systems (sequential<br />

and concurrent programs) as well as hardware circuits. The start<strong>in</strong>g po<strong>in</strong>t of this<br />

form of model-based test<strong>in</strong>g is a precise, unambiguous model description of the<br />

system under test. Based on this formal specification, test generation algorithms<br />

generate provably valid tests, i.e., tests that test what should be tested and no<br />

more than that. These algorithms provide automatic, faster and less error-prone<br />

test generation facilities. A sketch of the test<strong>in</strong>g approach is given <strong>in</strong> Figure 9.<br />

By hypothesis, it is assumed that for any implementation a model does exist.<br />

This assumption allows for reason<strong>in</strong>g about implementations as if they were<br />

formal objects. Consequently, it allows to express conformance – is the implementation<br />

under test a correct implementation of the specification? – as a formal<br />

relation, denoted imp, between models of implementations and specifications.<br />

Such a relation is called an implementation relation (sometimes also called conformance<br />

relation). An implementation i is said to be correct with respect to<br />

specification s if and only if the model of i is related to s by the implementation<br />

relation: model of (i) imps. Implementation relatiuons are typically preorder<br />

relations, i.e., relations that are reflexive and transitive (but not necessarily<br />

symmetric).<br />

The behaviour of an implementation under test (IUT, for short) is <strong>in</strong>vestigated<br />

by perform<strong>in</strong>g experiments on the implementation and observ<strong>in</strong>g the

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

Saved successfully!

Ooh no, something went wrong!