QA Fundamentals · Middle · Question 3 of 75
When is state transition testing a good choice?
- 1When you only need to test how fast pages load
- 2When behaviour depends on the current state, like an order's status
- 3When the system has no stored data and no memory at all
Show the answer
Correct answer: When behaviour depends on the current state, like an order's status
Explanation
An order goes New → Paid → Shipped → Delivered, and some transitions must be impossible (Shipped → New). A state diagram shows valid and invalid transitions to test.