Test Generation from Finite State Models Flashcards
Abstract representation of behavior exhibited by some systems. Derived from application requirements. Not all aspects of requirements can be specified (security, performance, etc.)
FSM
Description of the status of a system that is waiting to execute a transition
State
Set of actions to be executed when a condition is fulfilled or when an event is received
Transition
Directed graph that contains nodes representing states and edges representing state transitions and output functions
State diagram
Introduce the concepts of hierarchically nested states and orthogonal regions, while extending the notion of actions. Have the characteristics of both Mealy machines and Moore machines.
UML state machines
Each state in M there exists a transition for each input symbol
Completely specified
For each pair of states (qi, qj) there exists an input sequence that takes M from state qi to qj
Strongly connected
Number of states in M is less than or equal to any other FSM equivalent to M
Minimal
Passes a collection of tests derived from its specification
Conformance testing
Set of all strings representing sub-paths, starting at the root, in the testing tree
Transition cover set
Uses the characterization set W of distinguishing sequences as the basis to generate a test set for an IUT (Implementation Under Test)
W-Method
Similar to W-method (tests are generated from a minimal, complete and connected FSM), but the size of the test set is often smaller
Partial W-Method
Sequences finds transfer and operation errors only
Unique input/output