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.

328 Glossary<br />

everything the system must do, might do, and must not do. A model program can<br />

act as a specification. Contrast to design.<br />

split action. A pair of actions, the start action and the finish action, associated with<br />

the call and return of a single action method that has a return value and/or out or<br />

byref parameters. Contrast to atomic action.<br />

start action. The first action in a split action, associated with the call of the action<br />

method.<br />

state. The information stored in a system at one point in time. In a model program,<br />

the state is the collection of all state variables and their values.<br />

state filter. Apredicate that must be satisfied in the next state of a transition for<br />

that transition to be included in exploration. State filters are a pruning technique.<br />

state grouping. A collection of states that have the same value for a state property.<br />

In exploration,apruning technique can exclude a state that does not provide a new<br />

value for one of the properties. In testing, an adaptive strategy can select actions<br />

that lead to state groupings that have not yet been visited.<br />

state-independent. A method that does not read or update any state. It only reads<br />

its parameters and returns a value.<br />

state property. A value computed from a state. All states where the property has the<br />

same value belong to the same state grouping. Also called an abstraction function<br />

or a group label.<br />

state transition. Transition.<br />

state transition diagram. A picture of the directed graph that represents an FSM,<br />

where bubbles represent states, arrows represent transitions, and labels on the arrows<br />

represent actions.<br />

state transition table. A table that represents an FSM, with one row for each transition<br />

(or group of transitions with “don’t care” or “don’t change” values).<br />

state variable. A variable in a model program that stores state. In the N<strong>Model</strong> framework,<br />

static variables and instance variables, but not parameters or local variables,<br />

are state variables.<br />

static analysis. Analysis that checks code without executing it. Contrast to testing.<br />

static class. In C#, a class labeled with the static modifier. A static class can only<br />

have static variables and static methods.<br />

step. The execution of an action.<br />

stepper.Atest harness used with the N<strong>Model</strong> framework, which supports lockstep<br />

execution.<br />

stochastic. An algorithm that combines random and directed aspects. Some strategies<br />

and sampling algorithms are stochastic.<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!