QA Fundamentals · Middle · Question 3 of 75

When is state transition testing a good choice?

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.

Further reading

Problem with a question

QA Fundamentals · Middle · question 3

Test yourself

Take the QA Fundamentals · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz