Black Box Test Techniques. State Transition Testing

Black Box Test Techniques. State Transition Testing
September 12 10:00 2011 Print This Article

Design

Test cases should be designed to exert transitions between states. A test case may exercise any number of transitions.

For every test case these should be clarified:

  • the starting state of the component;
  • the input to the component;
  • the expected outputs from the component;
  • the expected final state.

For every expected transition within a test case these should be clarified:

  • the beginning state;
  • the event which is the reason of transition to the next state;
  • the expected event which is the reason of transition;
  • the expected next state.

Test cases are designed to exert valid transitions between states.

Black-Box-Test-Techniques.-State-Transition-Testing

Analysis

State transition testing uses such model of the states the component may occupy, the transitions between states, the events which is the reason of transition, and the acts which can be the outcome of such transitions.

This model should include states, events, transitions, acts and their interrelation. The states of this model should be disjoint, identifiable and limited in quantity. Events which are the reason of transitions between states, and transitions may return to the state from which they started. The reason of events will be the inputs to the component, and acts in the state transition model may be the reason of the outputs from the component. The model will characteristically be represented as a state transition diagram, state table, or a state transition model.

Related Posts:

  • No Related Posts

About Article Author

view more articles
Nataliia Vasylyna
Nataliia Vasylyna

View More Articles