Answered step by step
Verified Expert Solution
Link Copied!
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

image text in transcribed

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

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students explore these related Databases questions

Question

Explain Coulomb's law with an example

Answered: 3 weeks ago

Question

What is operating system?

Answered: 3 weeks ago