Question 500
A tester is asked to evaluate the following situation: A warehouse order can move Created to Paid to Shipped, yet tests attempt Created to Shipped and treat any rejection as a defect. Which repeatable testing practice most directly reduces recurrence of this problem?
Explanation
Correct Answer
This safeguard specifically targets the contributing cause: Include negative transition cases with explicitly expected rejection behavior. It addresses the principle (State machines constrain valid transitions and invalid requests can correctly be rejected.) and can be assessed by: The direct Created-to-Shipped request is rejected while Created-to-Paid-to-Shipped succeeds.
Incorrect Answers
This preventive step mitigates a different project risk (syllabus section 4.2): A service gives free delivery when either subscription is Active or order exceeds $80, but testers assume both conditions must be true. The targeted safeguard for the current case is: Include negative transition cases with explicitly expected rejection behavior.
This preventive step mitigates a different project risk (syllabus section 4.2): A loyalty engine has an 'expired' terminal status but the QA suite never tests attempts to redeem a reward after expiration. The targeted safeguard for the current case is: Include negative transition cases with explicitly expected rejection behavior.
This preventive step mitigates a different project risk (syllabus section 4.5): A claims workflow has a formal acceptance criterion that approved claims may be paid, but no scenario ensures a rejected claim cannot trigger payment. The targeted safeguard for the current case is: Include negative transition cases with explicitly expected rejection behavior.