An airline's frequent flyer's club awards benefits depending on which tier a customer is in. The software must determine which tier to allocate a customer to based on an input value of total Credits Earned to date
Customers initially join the Silver Tier and remain in that tier for the first 400 Credits Earned The next 400 Credits Earned moves the customer into the Gold Tier. The next 600 Credits Earned moves the customer into the Platinum Tier Further Credits Earned moves the customer into the Concierge Tier.
Test Cases have been written with the following total Credits Earned input values:
TC1 -400 Credits
TC2 - 500 Credits
TC3 - 800 Credits
TC4-1500 Credits
Applying the Equivalence Partitioning test design technique, what percentage of valid Equivalence Partitions have these 4 test cases collectively achieved?
Equivalence Partitioning is a black-box test design technique that divides input data of a software module into partitions of equivalent data from which test cases can be derived. In this context, the valid equivalence partitions are:
Silver Tier: 0 to 400 Credits
Gold Tier: 401 to 800 Credits
Platinum Tier: 801 to 1400 Credits
Concierge Tier: 1401+ Credits
The test cases provided cover all these partitions:
TC1 covers the Silver Tier boundary at 400 Credits.
TC2 covers within the Gold Tier at 500 Credits.
TC3 covers the Gold Tier boundary at 800 Credits.
TC4 covers within the Concierge Tier at 1500 Credits.
Since all valid partitions are covered by the test cases, 100% of the valid Equivalence Partitions have been achieved.
Currently there are no comments in this discussion, be the first to comment!