27.07.2013 Views

2 Why We Need Model-Based Testing

2 Why We Need Model-Based Testing

2 Why We Need Model-Based Testing

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Appendices 327<br />

sandbox. Atest harness in which normally observable actions are made controllable,<br />

so a normally reactive system can be tested as a closed system.<br />

scenario. A collection of related runs (perhaps just one). A scenario can be expressed<br />

by a scenario model program.<br />

scenario control. Limiting analysis and testing to particular runs of interest.<br />

self-loop. Atransition where there is no change of state; the current state and next<br />

state are the same. So called because of its appearance in a state transition diagram.<br />

sequence. An ordered collection of (possibly repeating) elements. In the N<strong>Model</strong><br />

library, sequence is a compound value.<br />

set. An unordered collection of distinct elements. In the N<strong>Model</strong> library, set is a<br />

compound value.<br />

scenario FSM. Ascenario model program expressed as an FSM.<br />

scenario model program. Amodel program that defines a scenario, usually intended<br />

for scenario control. Contrast to contract model program.<br />

shared action.Anaction whose action symbol appears in the action vocabulary of<br />

two or more programs. Under composition, model programs synchronize steps for<br />

shared actions.<br />

side effect. Any effect of evaluating an expression or executing a statement, other<br />

than computing a value. Updating variables, allocating storage, or performing input<br />

or output are examples of side effects.<br />

signature. The name and parameters of a method, or the action symbol and parameters<br />

of an action.<br />

simple name. In C#, a name not including the namespace. A simple name need not<br />

be unique. Contrast to fully qualified name.<br />

simulation. Amodel-based analysis technique, where runs of a model program<br />

are observed. Each run of a model program is a simulation of some behavior<br />

of the implementation. Simulation can include run-time checks. Sometimes called<br />

animation. Compare to exploration.<br />

slice. A collection of features.<br />

sliding window. Aprotocol that uses a pool of resources (the “window”) whose<br />

contents change (“slide”) as time progresses.<br />

source program. In C#, the collection of source code files (perhaps just one) that<br />

are compiled to produce an assembly.<br />

specification. A description of what a program, component, or system is supposed<br />

to do. A specification should be a complete description of behavior that describes<br />

more free ebooks download links at:<br />

http://www.ebook-x.com

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

Saved successfully!

Ooh no, something went wrong!