Answered step by step
Verified Expert Solution
Question
1 Approved Answer
All information already given Question 2 You are required to design the testing for specification of purchasing assorted chips in Sekudap online store using ShopLala
All information already given
Question 2 You are required to design the testing for specification of purchasing assorted chips in Sekudap online store using ShopLala shopping platform. Purchasing function will calculates the total price of the order that user add in his/her shopping cart. The function should take the weight of the chips pack (available in 500gm and 1kg) and the required quantity of pack as input, and output is the total price of the order. The basic cost for every pack of 500g is RM15 and a pack of 1kg is RM25. The maximum order for one parcel of delivery is 50kg. Purchasing over than that must be made in separate order. Discounts are available for bulk orders. If the user order between 10kg and 29kg, they usually qualify for a 10% discount, while if they order 30kg or more, they are qualify for a 20% discount. Additional 1% discount will be given if the user using a valid coupon code. If the user using e-wallet to make a payment, the user can get free shipping fee. Otherwise, the shipping fee will be issued for RM5 for the total weight below 5kg and RM20 for more than that. Discount amounts are added to the total price, if applicable. A test input is a pair (weight, quantity of pack). If a given input's value for weight is invalid, the system will gives a warning message "weight is invalid. If the total weight for quantity of packs is more than 50kg, the system will gives a warning message "Total purchase is more than 50kg". i. Construct a decision table. ii. Identify how many test cases for 100% test coverage. iii. Write all possible test casesStep 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