Question: Project details: For this system, you are responsible to develop and test the homemade cakes and pastries ordering page which will allow user to choose

Project details:

For this system, you are responsible to develop and test the homemade cakes and pastries ordering page which will allow user to choose the items & quantities, to track status of the order and calculate the total price accordingly before proceeding for payment. The requirements for the order module are as follows: A user can order the homemade cake and pastries from the system. A user can choose one or more items from the system. The user can register as member or be a guest user. Each item has member and non-member price. There will be an additional 5% discount for promotional items. A minimum order of RM25 has to be met. Otherwise, there will be an additional charge. The payment for ordered item and delivery has to be made using the online payment gateway and once the payment successful, the order will be process for delivery. The delivery is only within Melaka and theres a delivery charge depending to the area in Melaka. The listing of items and delivery charges are given in Appendix A & B. Assignment Deliverables: Part A: Test Plan Based on the project details and requirement, plan for the testing activities. Your test plan must contain scope, objective, test basis, test conditions, test entry and exit criteria and so on. Refer to the test plan template. Part B: Test Design Based on the project details, create decision table and design the test cases for the testing phase. There must be clear description in every test case. Refer to the test case template. Part C: Application code and Test Code Jar files: Place all JAR files (jUnitParams & Mockito) in C:\jars 1. Application code: Your application code must have the following modules with below functionalities: i. item - contains details of each item, such as item type (cake or pastry), name, member price, non-member price - promotional items will have special indications in order to have additional 5% discount

ii. member: - contains details of the registered member, such as name, address and phone number - address should contain the State, District, Area, Postal Code, Street Name, Unit/House Number

iii. order: contain details of each order made, such as order id, delivery address, item(s), quantities for each item(s), price for each item(s), delivery charges & total price For members, the registered details (name, address, phone number) will be used. For non-members, need to get the name and address first before proceed with order If the address is outside Melaka, cannot proceed to order the items. The items listings are based on Appendix A. Total order should be calculated based on the item price * quantities If it is a promotional item, 5% discount will be added If the total order is less then RM25, an additional charge of RM3 will be added. the delivery charges will be calculated based on the rates in Appendix B. total price (total order for items + delivery charges) will be calculated and shown iv. payment: Payment is made either by credit card or online banking platform. Store details such as total price, payment status, payment method Once payment is successful, the order status will be updated to Paid & Ready for Delivery. If the payment is unsuccessful, the order status will be updated to Pending for Payment.

Create a separate class for each module. You are responsible to complete and implement the classes in the application. It is depending on how you want to design your classes. However, the stated core functionalities should be working as per expected. Note: The Payment module and other modules are not ready for testing. However, you can use stub and driver to test the integration within this module.

2. Test code: Write test code using jUnit Framework and Mockito to test the application code.

Project details: For this system, you are responsible to develop and testthe homemade cakes and pastries ordering page which will allow user to

Appendix A: Items listing Name Type Member Price Non-member (RM) price (RM) 46.00 46.80 76.50 77.20 120.00 125.00 Promotional item No No No 98.00 105.00 No 98.00 98.00 130.00 70.00 85.00 125.00 135.00 180.00 105.00 105.00 135.00 75.00 90.00 130.00 140.00 185.00 No No No No No No Yes Yes Butter cake Cake Marble cake Cake Burnt Cake Cheesecake Chocolate Cake Indulgence Tiramisu Cake Cake Oreo Cheese Cake Black Forest Cake Carrot Cake Cake Chocolate Cake Cake Red Velvet Cake Absolute Durian Cake Salted Caramel Cake Macadamia Cheese White Cake Chocolate Cake Apple pie (3 Pastry pieces) Cinnamon Roll Pastry (2 pieces) Croissant Pastry Macaron (5 Pastry pieces) Pretzel (2 Pastry pieces) Pineapple tart (1 Pastry container) Spring roll (1 Pastry container) 95.00 98.00 Yes 9.30 9.90 No 8.20 8.70 No 4.20 15.00 4.50 15.50 No No 13.00 13.60 No 39.00 42.00 Yes 30.00 32.00 Yes Appendix B: Delivery rates Delivery rate (RM) 2.50 4.00 5.00 5.00 3.50 4.00 3.50 3.50 4.00 Area Alor Gajah Asahan Ayer Keroh Bandar Hilir Batu Berendam Bemban Bukit Beruang Durian Tunggal Jasin Kuala Linggi Kuala Sungai Baru Lubok China Masjid Tanah Melaka Tengah Merlimau Selandar Sungai Rambai Sungai Udang Tanjong Kling Ujong Pasir 3.00 3.00 3.00 2.50 5.00 4.00 4.00 2.50 2.50 4.50 4.50 Appendix A: Items listing Name Type Member Price Non-member (RM) price (RM) 46.00 46.80 76.50 77.20 120.00 125.00 Promotional item No No No 98.00 105.00 No 98.00 98.00 130.00 70.00 85.00 125.00 135.00 180.00 105.00 105.00 135.00 75.00 90.00 130.00 140.00 185.00 No No No No No No Yes Yes Butter cake Cake Marble cake Cake Burnt Cake Cheesecake Chocolate Cake Indulgence Tiramisu Cake Cake Oreo Cheese Cake Black Forest Cake Carrot Cake Cake Chocolate Cake Cake Red Velvet Cake Absolute Durian Cake Salted Caramel Cake Macadamia Cheese White Cake Chocolate Cake Apple pie (3 Pastry pieces) Cinnamon Roll Pastry (2 pieces) Croissant Pastry Macaron (5 Pastry pieces) Pretzel (2 Pastry pieces) Pineapple tart (1 Pastry container) Spring roll (1 Pastry container) 95.00 98.00 Yes 9.30 9.90 No 8.20 8.70 No 4.20 15.00 4.50 15.50 No No 13.00 13.60 No 39.00 42.00 Yes 30.00 32.00 Yes Appendix B: Delivery rates Delivery rate (RM) 2.50 4.00 5.00 5.00 3.50 4.00 3.50 3.50 4.00 Area Alor Gajah Asahan Ayer Keroh Bandar Hilir Batu Berendam Bemban Bukit Beruang Durian Tunggal Jasin Kuala Linggi Kuala Sungai Baru Lubok China Masjid Tanah Melaka Tengah Merlimau Selandar Sungai Rambai Sungai Udang Tanjong Kling Ujong Pasir 3.00 3.00 3.00 2.50 5.00 4.00 4.00 2.50 2.50 4.50 4.50

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!