Consider the following decision table for the portion of an online airline reservation system that allows frequent flyers to redeem points for reward travel: Condition 1 2 3 Account/password okay N Y Y Sufficient points - N Y Action Show flight history N Y Y Allow reward travel N N Y Suppose that there are two equivalence partitions for the condition where “Account/password okay” is not true, one where the account is invalid and another where the account is valid, but the password is invalid. Suppose that there is only one equivalence partition corresponding to the condition where “Account/password okay” is true, where both the account and password are valid. If you want to design tests to cover the equivalence partitions for “Account/password okay” and also for this portion of the decision table, what is the minimum number of tests required?
選択肢
正解
: