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 III<br />

Model-Based Test Case Generation<br />

The previous parts of this book have, <strong>in</strong> general, been concerned with check<strong>in</strong>g<br />

models aga<strong>in</strong>st models. A theoretical underp<strong>in</strong>n<strong>in</strong>g with, among other th<strong>in</strong>gs,<br />

respect to completeness of these approaches has been given.<br />

If correctness of a model w.r.t. another model is to be proved, then the size of<br />

their state spaces becomes a crucial problem. It may turn out that with today’s<br />

technology, mathematical verification is not possible for arbitrary systems. In<br />

addition to complexity issues, check<strong>in</strong>g models aga<strong>in</strong>st models—or properties—is<br />

crucially dependent on the assumptions that have been encoded <strong>in</strong>to the models.<br />

Mathematically established correctness only holds under the condition that these<br />

assumptions do <strong>in</strong>deed hold.<br />

As a consequence, there is a grow<strong>in</strong>g agreement that verification technology<br />

such as model check<strong>in</strong>g or deductive theorem prov<strong>in</strong>g must hence be complemented<br />

with activities that relate the real world to the models. This is particularly<br />

true for embedded devices where complex systems <strong>in</strong>teract with an equally<br />

complex environment.<br />

The idea of model-based test<strong>in</strong>g is then to have a model of the system, or<br />

specification, and use this model to generate sequences of <strong>in</strong>put and expected<br />

output. Roughly speak<strong>in</strong>g, the <strong>in</strong>put is applied to the system under test, and the<br />

system’s output is compared to the model’s output, as given by the generated<br />

trace. This implies that the model must be valid, i.e., that it faithfully represents<br />

the requirements. The apparatus of the previous parts can be seen as a means<br />

to <strong>in</strong>crease confidence that a model does <strong>in</strong>deed conform to the requirements.

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

Saved successfully!

Ooh no, something went wrong!