Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Design test cases to cover all boundaries for this system An online store is offering customers a special offer. A customer can get $50 cash
Design test cases to cover all boundaries for this system
An online store is offering customers a special offer. A customer can get $50 cash back when he/she spend more than $270, and can get another $50 cash back when spend more than $540 Furthermore, the store offers a 10% discount for site members. (cash back is calculated after discount) Suppose we are to test a system which calculate the last price we pay. An input to the system contains two numbers, (X, Y). X is an Integer > 0 represents the total price. Y is a Boolean shows whether the customer a site member. Output Z is a float represents the money you pay. Design test cases to cover all boundaries for this system. Some invalid test cases must also be designed. Note: a test case should contain both input and expected output, i.e., ((X, Y), Z)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