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.

15 Case Studies 449<br />

rion. Stochastic test specifications can be equally distributed, e.g. every second<br />

test case of a randomly generated set will be chosen, or non-equally distributed<br />

follow<strong>in</strong>g a certa<strong>in</strong> distribution function, cf. also Sec. 11.2.<br />

Formalisms used for test specifications In most of the considered case studies,<br />

the formalism used for the test specification and the formalism for the test model<br />

are identical. Here, we brief the list of formal notations used <strong>in</strong> the case studies.<br />

• Conference Protocol [BFdV + 99]: S<strong>in</strong>ce <strong>in</strong> this case study only stochastic<br />

test specifications are used where a random number generator selects the<br />

test cases, a special additional formalism is not necessary, but configuration<br />

parameters concern<strong>in</strong>g <strong>in</strong>put and output gates or the random number<br />

generator have to be def<strong>in</strong>ed.<br />

• Smart Cards - CEPS [CJRZ01]: Test model and test specification are expressed<br />

<strong>in</strong> the Input/Output Symbolic Transition System (IOSTS) formalism.<br />

• SDU of ST100 DSP [DBG01]: Here first the MµALT (Model<strong>in</strong>g micro-<br />

Architecture Language for Traversal) language is used. A coverage model<br />

is basically determ<strong>in</strong>ed by add<strong>in</strong>g special attributes to <strong>in</strong>terest<strong>in</strong>g signals or<br />

variables. These test constra<strong>in</strong>ts restrict the way targeted states are reached.<br />

Second, the test generation tool GOTCHA (Generator of Test Cases for<br />

Hardware Architecture) is used for generat<strong>in</strong>g test cases as execution paths<br />

to the state coverage task and cont<strong>in</strong>u<strong>in</strong>g to a f<strong>in</strong>al state.<br />

• POSIX/Java [FHP02]: GOTCHA and its def<strong>in</strong>ition language (GDL) are used<br />

to describe a set of coverage criteria and test constra<strong>in</strong>ts to form the test<br />

specification. As <strong>in</strong> [DBG01], GOTCHA is also used for test case generation.<br />

• PowerPC [FKL99]: A tool named Comet which is developed at IBM is used.<br />

The def<strong>in</strong>ition of the coverage model is written <strong>in</strong> SQL.<br />

• Cache Coherency Protocol [KVZ98]: In this case study different formalisms<br />

for test model and test specification are used. LOTOS is used for the test<br />

model. Automata <strong>in</strong> Aldebaran format are used for the test specification.<br />

Both are <strong>in</strong>puts for the test case generator TGV.<br />

• Smart Cards - WIM [PPS + 03]: The CASE tool AutoFocus is used where<br />

graphical description techniques that are loosely related to the notations of<br />

UML-RT form the test model and test specification. For test case generation,<br />

the test model and the test specification are automatically translated to CLP<br />

(constra<strong>in</strong>t logic programm<strong>in</strong>g).<br />

• Microprocessors [SA99]: FSMs where <strong>in</strong>terest<strong>in</strong>g control states and <strong>in</strong>terest<strong>in</strong>g<br />

events as state associative control signals are specified, from the test<br />

specification. The formalism used therefore is not mentioned.<br />

15.6 Abstract Test Case Generation<br />

This section covers the different methods used for test case generation <strong>in</strong> the<br />

case studies reviewed <strong>in</strong> this chapter, assum<strong>in</strong>g that a test model of the SUT<br />

and a formal description of the test specification are available. Clearly, whenever

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

Saved successfully!

Ooh no, something went wrong!