You are testing an e-commerce system. The system accepts four different types of Credit Cards; each card has its own rules for valid and invalid numbers.
The combination of the conditions Valid Card Number (NO) + Purchase Approved (YES) is not feasible.
You wish to perform a test which completely covers all the combinations of equivalence partitioning for the different types of credit card, according to the rules shown in the above Decision Table. How many test cases do you need?
A. 8
B. 4
C. 16
D. 12
So 3 tests per card (condition Valid Card Number (NO) + Purchase Approved (YES) is not in the table not feasible). 4 credit card per 3 test = 12 tests