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.

288 Alexander Pretschner and Jan Philipps<br />

the more concrete artifact. In the context of test<strong>in</strong>g, it is important to notice<br />

that we run <strong>in</strong>to the same problem of not hav<strong>in</strong>g any redundancy as above. The<br />

consequence is that automatic verdicts make statements only about assumptions<br />

<strong>in</strong> the automatic process of abstraction.<br />

Abstractions are bound to a given purpose [Sta73]. Automatic abstraction<br />

must hence be performed with a given goal <strong>in</strong> m<strong>in</strong>d. It is likely that for test case<br />

generation, fully automatic abstraction is not possible but that test eng<strong>in</strong>eers<br />

must provide the abstraction mechanism with doma<strong>in</strong> and application specific<br />

knowledge.<br />

10.3.3 Manual Model<strong>in</strong>g<br />

A further possibility consists of manually build<strong>in</strong>g the model for test case generation,<br />

while the system is aga<strong>in</strong> built on top of a different specification (Fig. 10.5).<br />

Depend<strong>in</strong>g on how close the <strong>in</strong>teraction between the responsibles for specification<br />

and model is, there will <strong>in</strong> general be the redundancy that is required for<br />

automatically assign<strong>in</strong>g verdicts.<br />

Requirements<br />

Test Case Specification<br />

Test Cases<br />

Model<br />

Generation<br />

γ/α<br />

Automatic<br />

Verdicts<br />

Specification<br />

Code<br />

Manual<br />

Cod<strong>in</strong>g<br />

HW, OS, Legacy<br />

Fig. 10.5. A model is built only for test<strong>in</strong>g purposes<br />

This approach also reflects the situation where build<strong>in</strong>g the specification and<br />

implement<strong>in</strong>g a system are not necessarily performed by the same organization.<br />

For <strong>in</strong>stance, this is often the case <strong>in</strong> the automotive <strong>in</strong>dustry where OEMs<br />

assemble devices from different suppliers. Obviously, the OEMs are <strong>in</strong>terested <strong>in</strong><br />

mak<strong>in</strong>g sure that the supplied systems conform to the specification.<br />

As an aside, comb<strong>in</strong>ations of this scenario and that of the last subsection<br />

typically arise when test case generation technology is to be assessed (a recent<br />

survey conta<strong>in</strong>s some examples [PP04]). Do<strong>in</strong>g so, however, is problematic <strong>in</strong><br />

that test<strong>in</strong>g is only performed when the system has, <strong>in</strong> large parts, already been<br />

built.<br />

10.3.4 Separate Models<br />

F<strong>in</strong>ally, a last scenario is noteworthy that <strong>in</strong>volves hav<strong>in</strong>g two redundant and dist<strong>in</strong>ct<br />

models, one for test case generation, and one for code generation (Fig. 10.6).

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

Saved successfully!

Ooh no, something went wrong!