State Transition Testing
State transition testing is a black-box test technique that designs test cases based on the states of a system and the transitions between those states.
“A black-box test technique in which test cases are designed to exercise elements of a state transition model.”
(Definition reproduced from the ISTQB Glossary. Copyright belongs to ISTQB.)
View the complete ISTQB GlossaryWhat is State Transition Testing?
It verifies that valid transitions succeed, invalid transitions are handled correctly, and state-dependent behavior works as expected.
State based: Tests behavior in different system states.
Transition validation: Verifies movement between states.
Negative scenarios: Includes invalid transitions.
Visual Example
Simplified state transitions
Arrows omitted for clarity
Real World Example
A mobile banking app lets customers freeze, unfreeze, replace, and cancel debit cards from the app.
The same button can be valid in one card status and invalid in another. State transition testing matters because the defect risk sits in movement between statuses, not just on individual screens.
The tester follows each allowed and blocked transition, such as frozen to active or cancelled to reissued, and checks that the app prevents impossible card states.
Understanding State transition testing helps the team protect customers from cards being left active, unusable, or shown with the wrong status after an action.
Practice Questions
Question 1
Which statement BEST describes State transition testing in the context of ISTQB terminology?
Question 2
A tester needs to explain State transition testing to a non‑technical stakeholder. Which approach is MOST appropriate?
Test your knowledge with real ISTQB-style questions
You’ve learned State Transition Testing. Test your understanding with topic-specific questions in our Mock Exams.