Decision table testing is used to analyze combinations of inputs to determine the appropriate outputs, often based on specific rules or conditions.
For the problem statement:
Rule 1: (Withdrawal = Allowed, Balance = Sufficient, Fast Cash = True, Correct PIN = True)
Rule 4: (Withdrawal = Allowed, Balance = Sufficient, Fast Cash = True, Correct PIN = False)
The additional test cases are:
DT1: (Withdrawal = Allowed, Balance = Insufficient, Fast Cash = True, Correct PIN = True)
DT2: (Withdrawal = Allowed, Balance = Sufficient, Fast Cash = False, Correct PIN = True)
DT3: (Withdrawal = Allowed, Balance = Insufficient, Fast Cash = True, Correct PIN = False)
DT4: (Withdrawal = Allowed, Balance = Sufficient, Fast Cash = False, Correct PIN = False)
From the given test cases,DT2covers the scenario where Fast Cash is False, which is not covered in the initial cases.DT3covers the case where Balance is Insufficient and PIN is incorrect.
Combining Rules 1 and 4 withDT2andDT3covers all the scenarios.
References:
Certified Tester Foundation Level v4.0
10 Sample Exams ISTQB Foundation Level (CTFL) v4.0