-
Is used to
- Where some aspect of the system can be described in a finite state machine
- ISTQB: to test the ability of the software to enter into and exit from defined states via valid and invalid transitions.
-
LEARN theory
- Model-based testing
- Finite-state machine
- Transition system
- Directed graph
-
A Practitioner's Guide to Software Test Design
- Chapter 7: State-Transition Testing
- Сan be used at any level of testing
-
Ideal
- For testing any type of transactions and workflows
- For early testing
- For requirements testing
-
Difficulties
- Determining all possible the states
-
Advice: to draw the diagram
- All states
- All transitions from one state to another
- Any events that cause a transition
- The actions that result from a transition
-
Automation tools is possible for test cases generation
- GraphWalker
- Allow to find gaps, omissions, errors