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 325<br />

oracle. The authority which provides the correct result for a test case, used to judge<br />

whether the test passed or failed. Amodel program can act as an oracle.<br />

pair. A data record with two elements in order. A set of pairs represents a binary<br />

relation. The pair data type in the N<strong>Model</strong> library is a value type.<br />

parameter generation. Specifying domains and selecting parameter values from<br />

those domains during exploration. Parameter generation is an aspect of scenario<br />

control.<br />

partial order. A relation where some, but not all, pairs of elements occur in order.<br />

Partial orders arise in concurrent systems where it is not always possible to know<br />

whether an event in one program precedes or follows an event in another. Partial<br />

order must be considered in multiplexing.<br />

partially explored. Astate where an unexplored action is enabled.<br />

pass. Ofatest case, to not fail.<br />

passive state. Astate in which all enabled actions are observable.<br />

passive testing. A special case of on-the-fly testing where all the actions are observable.<br />

For example, passive testing could be used to check a log file for conformance.<br />

path coverage. A measure of how many execution paths have been executed. The<br />

number of possible paths is often “infinite,” so full path coverage is rarely feasible.<br />

Contrast to transition coverage.<br />

placeholder.Anaction argument which matches any value when matching actions<br />

during composition.<br />

postman tour. An algorithm used in offline testing, which generates a test suite<br />

from an FSM by traversal. The postman tour produces a test suite that has minimal<br />

transition coverage. Also called the Chinese postman tour.<br />

precondition. Enabling condition.<br />

predicate. A Boolean expression or method that has no side effects.<br />

preliminary analysis. Preparation for writing a model program, including selecting<br />

the features to include, choosing the level of abstraction, identifying the state and<br />

actions, and writing some sample traces.<br />

probe.Anaction that checks the state, usually for purposes of testing. A probe does<br />

not change the state; the resulting transition is a self-loop.<br />

product. The model program that results from the composition of two or more<br />

model programs.<br />

progress. Closer approach to a goal, such as an accepting state. A program that<br />

does not make progress experiences a liveness failure.<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!