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

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

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

326 Glossary<br />

protocol. An agreement about how two or more agents work together. A protocol<br />

is defined by rules for forming messages and rules that constrain the ordering of the<br />

messages. When modeling a protocol, the messages are actions.<br />

pruning. To limit exploration by systematically excluding some transitions. Examples<br />

of pruning techniques include state filters, strengthening enabling conditions,<br />

state groupings, and stopping rules. Pruning is a way to finitize. Contrast to<br />

sampling.<br />

pure. A statement or expression that has no side effects. Anenabling condition or<br />

any other predicate must be pure.<br />

random. A simple strategy that randomly selects an enabled action to execute next.<br />

reachable. Ofastate, that it is visited by some possible run. A reachable state<br />

might be visited during exploration. Of an object, that it occurs within a global state<br />

variable, or occurs within an instance field of a reachable object. The keys of a field<br />

map contain all reachable instances of its class.<br />

reactive system. A system that responds to its environment. In a reactive system,<br />

some of the actions are observable. Contrast to closed system.<br />

reference equality. Where two variables are equal when occupy the same location<br />

in memory. In C#, the default equality for objects. Contrast to structural equality.<br />

restricted model.Ascenario model program created by restricting a contract model<br />

program, especially by limiting domains.<br />

review. Inspection.<br />

reward. A quantity that a strategy seeks to maximize, by choosing the best action<br />

in each state.<br />

run. A sequence of actions. A run begins in the initial state and should stop in an<br />

accepting state; otherwise, it is considered a liveness failure.<br />

run-time check. To execute an assertion to check that the program or its environment<br />

is behaving as intended.<br />

safety. The property that nothing bad will happen: execution will not reach any unsafe<br />

states that violate safety requirements. Or, no unsafe scenarios will be executed.<br />

Contrast to liveness.<br />

safety analysis. Checking safety, by searching for unsafe states or attempting to<br />

execute a scenario.<br />

safety requirement. Invariant.<br />

sampling. To limit exploration by selecting desirable paths to explore, rather than<br />

excluding undesirable transitions as with pruning. Sampling is a way to finitize.<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!