Professional Documents
Culture Documents
Conditions
Customer without loyalty card T T F F
Customer with loyalty card F F T T
Extra discount selected - - T F
Spend > $100 F T - -
Actions
No discount T F F F
Extra discount F T T F
Loyalty points F F F T
Decision table testing
2nd Example
Conditions
Valid User Name F T T T
Valid Password - F T T
Adequate balance in the account - - F T
Actions
Login accepted F F T T
Amount transferred - - F T
Decision table testing
3rd Example (ATM Decision table
Rule 1 Rule 2 Rule 3 Rule 4 Rule 5
Conditions
User Inserts Valid Card F T T T T
User Enters Valid PIN - F F T T
Three Invalid PINs attempted - F T F F
Sufficient balance for the request - - - F T
Actions
Reject Card T F F F F
Prompt to Reenter PIN F T F F F
Eat the Card F F T F F
Dispense Requested Cash F F F F T