Question 540
A test analyst investigates the following quality concern: A music service supports Trial, Paid and Cancelled memberships, and its tests jump directly to Cancelled by setting database state, missing the cancellation event's side effects. Which repeatable testing practice most directly reduces recurrence of this problem?
Explanation
Correct Answer
This safeguard specifically targets the contributing cause: Use public workflow actions to verify side effects of important transitions. It addresses the principle (State transition testing must exercise the event and observable actions rather than merely forcing a state variable.) and can be assessed by: The account enters Cancelled through the public workflow and future renewal billing stops.
Incorrect Answers
This preventive step mitigates a different project risk (syllabus section 4.2): A customer service form accepts 5–50 characters, and a tester chooses exactly 5 and 50 but never checks rejection outside the range. The targeted safeguard for the current case is: Use public workflow actions to verify side effects of important transitions.
This preventive step mitigates a different project risk (syllabus section 4.2): An account service transitions from Locked to Active after a successful verification event, but tests check only the current labels without sending events. The targeted safeguard for the current case is: Use public workflow actions to verify side effects of important transitions.
This preventive step mitigates a different project risk (syllabus section 4.1): A tester relies on a checklist of historic outages and misses a newly required age boundary in a registration feature. The targeted safeguard for the current case is: Use public workflow actions to verify side effects of important transitions.