Milestone 6: Detailed Design
Milestone ID: 274
Liu and Li finishes drawing all the diagrams (Class diagram and Interaction diagram. It takes around 2 hours (Estimate: 1.5 hours). Zhang and Zhong finishes Action plan, Implementation and tests. It takes around 3 hours.(Estimate: 4 to 5 hours) As for the next milestone, Zhong and Zhang will finish the introduction and Scope.(Estimate: 0.5 hour) Li will focus on the quality objective (Estimate: 1.5 hours). As for role and responsibilities, Zhong and Zhang will focus on the design of the website (Hard to estimate). Li and Liu will focus on connecting the database with the website (Hard to estimate). As for the inspection and test methodology, we will probably use regression test and group inspection. (5 hours as estimated).
Test and Implementation:
Test and Implementation file are both in 370backend.
This is what we gonna put in the next milestone.(we just think it in advance) Background information: We are making a website so it’s actually a little hard for us to test our website, which means we will have another way to test our website.
Test Shopping cart Usage: Used to record the price and quantity of coffee (purchase coffee)
Action: Click the button of shopping cart
Post-Condition: The output(price and quantity of coffee) should be displayed to user and the calculation should be correct
Test Display_order Usage: Used to display the order information for each user
Action: Click the Display_order button
Post-Condition: The output of each order information should be displayed on the website.
Test Special Order (Google_weather, recommend_item) Usage: Use to display the recommendation of coffee based on Weather
Pre-Condition: None Action: Click and enter the homepage
Post-Condition: The output should display appropriate coffee and grab the accurate local weather to users
Test Cancel button Usage: Used to cancel wrong order
Action: Click the cancel button
Post-Condition: The wrong order should be canceled after clicking
Test recording user information Usage: Used to record user information
Pre-Condition: Input for name should be string, phone number should be int,order number should be int or string
Action: Click the button of getting user information and send it to database
Post-Condition: All user information typed by user will be recorded to the database
Test place_order button Usage: Used to place order when user finished choosing
Action: Click the button of place order
Post-Condition: The website should tell user his/her order is successfully placed and return a order number to user.