... | ... | @@ -3,4 +3,44 @@ |
|
|
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).
|
|
|
|
|
|
**Class Diagram & Interaction Diagram:**
|
|
|
![IMG_0996](uploads/f6aa72dd64a82a57af4bcc73b87c0e81/IMG_0996.jpg) |
|
|
\ No newline at end of file |
|
|
![IMG_0996](uploads/f6aa72dd64a82a57af4bcc73b87c0e81/IMG_0996.jpg)
|
|
|
|
|
|
**Test:**
|
|
|
|
|
|
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)
|
|
|
Pre-Condition: None
|
|
|
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
|
|
|
Pre-Condition: None
|
|
|
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
|
|
|
Pre-Condition: None
|
|
|
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
|
|
|
Pre-Condition: No
|
|
|
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. |
|
|
\ No newline at end of file |