QA Fundamentals · Middle · Question 4 of 75

In state transition testing, why test invalid transitions?

Show the answer

Correct answer: The system must reject them, e.g. refunding an unpaid order

Explanation

Bugs often allow actions in the wrong state: cancelling a delivered order, paying twice. Tests should check that such transitions are refused with a clear message.

Further reading

Problem with a question

QA Fundamentals · Middle · question 4

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