Question
A store in the city offers different discounts depending on a persons purchase. A software determines discounts based on the customers purchase price range, based
A store in the city offers different discounts depending on a persons purchase. A software determines discounts based on the customers purchase price range, based on the following rules: A purchase in the price range of 1 up to and including 50 has no discount, a purchase in the price range of over 50 up to and including 200 has a 5% discount, purchases of price range 201 up to and including 500 have a 10% discount, and purchases of price range 501 up to and including 2500 have 15% discounts. No items are sold outside these price ranges and if an incorrect price is entered the software returns a discount value of -1% to indicate an error.
Use the testing method of Equivalence Partitions (EP) for the specification above to: Create the input and output partitions, test coverage items (TCI), and test cases (with suitable test data) where you mark error cases with an asterisk.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started