15.5. Sad PathsDon was eager to focus on "when the transaction can't complete." In testing, this is often called a sad path because it concerns what happens when things don't work out well. After discussion and a few trials, the group came up with the first sad-path test, as shown in Figure 15.11.
No payment has been made in the third row of Figure 15.11. So the complete transaction in the third table must be rejected by the system under test. Once the payment has been made in the fourth row, the transaction can be completed. The group wrote 20 more sad-path tests for complete and cancel transactions, including the one shown in Figure 15.12. A transaction can't be canceled until any paid money is refunded.
Questions & Answers
|
Wednesday, November 25, 2009
Section 15.5. Sad Paths
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment