Milestone 10: Product Beta
Company name: CMPT370-international
Name:Zhengwei Zhong NSID:zhz361 Email:zhz361@mail.usask.ca
Name:Jiawei Zhang NSID:jiz038 Email:jiz038@mail.usask.ca
Name:Yuwen Liu NSID:yul905 Email:yul905@mail.usask.ca
Name:Wenyi Li NSID:wel992 Email:wel992@mail.usask.ca
Product Vision:
Our product aims to create a website for a cat cafe(Meow Cafe). Our inspiration is from cats because all members in our group like cats. It has five features totally. The first feature is that our website will show a brief description of our products (coffee that we have) to all the customers who view our website, which can tell our customers what types of coffee we are providing. The second one is that our customers can buy the coffee that they want directly on our website. The third feature is that our customers also can pre-order the coffee that they want in advance, which can save much time for them. The fourth feature is that our website will recommend a specific coffee for our customers according to the weather. For example, our website will recommend hot coffee to our customers if the temperature is very low. The fifth one is that the design of our website will be closely related to cats, which will attract a lot of customers who like coffee. The last one is that people can sign in and sign up to view their unique account information like order history.
System architecture:
Scale of our story points: 2 hours per story points
Persona 1: (JackBusyClerk)
Jack is a very busy bank clerk. He is a 30 years old man who works 8 hours per day. Besides, He has two sons and he has to wake up early to send his sons to school every morning. In order to feel less tired and keep energy, Jack takes coffee everyday. However, it wastes so much time to get the coffee because he has to wait in line and talk with the server what kind of coffee he needs, which always makes Jack feel frustrated. At this point, he really wishes that he can order the coffee online and only need to pick it up in the store.
Epic:
As Jack, one of the function of our website can provide pre-order service by using our website, which really can help busy Jack to save much time.
User Stories and Accepting test:
As Jack, I want to be able to order the coffee what I want quickly in advance, which save my time.
Tests:
a.Test with clicking the coffee I need (pass)
b.Test without clicking the coffee-add button (fail to add coffee)
Story Points: 2 stories
User Stories and Accepting test:
As Jack, I want to be able to grab the coffee correctly by using the order number or my phone number, which can make sure that I get the order I need.
Tests:
a.Test with a wrong order number (fail)
b.Test with a wrong phone number (fail)
c.Test with right order number (pass)
d.Test with right phone number (pass)
Story Points: 2 stories
As Jack, I want to be able to remove coffee if I wrongly click it, which can prevent wrong click.
Tests:
a.Test with removing a wrong item (pass)
Story Points: 1.5 stories
Persona 2: (JessicaLazyStudent)
Jessica is a Saskatoon girl who studies in Edmonton and live alone, this is the first time that she leaves her family. She is too lazy to check the weather outside and does not know how to take care of herself well, for example, she cannot manage schedule well so she is usually busy and drinks cold even at -30 degree, which causes a severe stomach illness. Meow Cafe just located besides Jessica’s house and the website will push appropriate drink to her according to the weather that day(show on webpage). Therefore, Jessica would like to open Meow Cafe website without any consideration and order corresponding drink to avoid stomachache.
Epics:
As Jessica, I want to see the weather that day on the home page and the webpage will push suggestion drinks for me so that I do not need to consider by myself.
User stories and Accepting tests:
As Jessica, I want to know the useful weather report as Google weather.
Tests:
A.Test whether the weather is pulled from Google weather.(pass)
B.Test whether the suggestion is correct so that it can recommand appropriate drinks.
Story points: 2 story points
User stories and Accepting tests:
As Jessica, I want to appropriate drink without my concerning so that avoid stomachache.
Tests:
A.Test whether the weather is pulled from Google weather.(pass)
B. Test whether the suggestion is correct so that it can recommand appropriate drinks.
Story points: 2.5 story points
Persona 3:(TomStudentActivity)
Tom is an University student. From he was in high school, he liked to join many kinds of activities for making friend with contemporary. When he moves to University he find he can spend more time on that, and those activities also can help him to improve his abilities and enrich his resume for getting a job after graduating. Therefore, he really need to find some place to get some drink for organizing activity.
Epics:
As Tom, he really want to buy enough coffee for his club activity, so that our website can offer shopping cart function for him to choose
User Stories 1:
As Tom, I want to buy dozens of cups of coffee, so I can click button to add many different kinds of coffee into shopping cart
Acceptance criteria 1(test):
Test with customer selecting coffee into shopping cart (pass)
Test with the the number of items while clicking the coffee (pass)
Story Points: 2 points
User Stories 2:
As Tom, if I select wrong order, so I can cancel the choice I made from shopping cart
Acceptance criteria 2(test):
Test with cancelling the wrong order from shopping cart list
Test with the number of items reducing shown by shopping cart
Story Points: 2 points
Persona 4: (Lindsay cat lover)
Lindsay is a High School student(Grade 12), she is 17 years old girl who spends most time on studying normally. Meanwhile, she has a part time job in PetSmart because she is a crazy fan of cats. She thought cats are the most beautiful animal on this world. However, her mother does not allow her to adopt a cat at home due to her heavy studying. Every time she hangs out with her friends, she wants to go somewhere can stay with cats. At this point, she really hopes she can browse a cat café website and check all cats they have in store included age, breed and name, then she can invite her friends for a drink here and have fun with her favorite cats during open time.
Epic:
As Lindsay, I want to check all cats’ information and available time online so that I can know when I should go the store for grabbing a drink and playing with my cuties without conflict.
User Stories and Accepting test:
- As Lindsay, I want to browse a cat coffee shop website so that I can see some cute kittens photos.
Test1:
- Test with entering the website with cat photos (pass)
- Test with entering the website without cat photos (fail)
Story Point: 2 story points
- As Lindsay, I want to check all cats’ pictures so that I can know which one is available to me my sweetheart temporarily.
Test2:
- Test with clicking the “Kitten” bar (pass)
- Test with clicking the “Store” bar (fail)
Story Point: 1.5 story points
Persona 5: (Coco Store Manager)
Coco is the store manager of Meow Café, she is 35 years old and she is response to work with baristas to make drinks and create new products for this coffee shop to update. When she gets new drinks or desserts, she needs to create new section for new food and drinks on meow website. At the point, she really wants to update new thing on the menu and manage the store open time.
Epic:
As Coco, I want to manage the website and update the menu so that I can make sure the website is running well.
User Stories and Accepting test:
- As Coco, I want to manage the open time of store on the website so that I can give our customers correct open time.
Test:
- Test with changing open time on the store time section(pass)
- Test with clicking our logo (fail)
Story Point: 2 story points
- As Coco, I want update the drinks menu on the website so that our customers can get what we have currently.
Test:
- Test with clicking the drink pictures (pass)
- Test with clicking the drink information bar (fail)
Story Point: 1.5 story points
Quality Assurance Plan:
Our project aims to do a website for a cat cafe. This is a group project which means we have more than one member to finish designing. As a result, the quality assurance will be the outcome of a teamwork. The strategies are following
A.We will test(unit test and regression test) most functions that we write by inputting right value, wrong value and even some extreme value.
B.We will try to ask our friends and post some online researches to make sure that our website.
C.We will focus on the coding style and make sure code fits the software goal(correct, efficiency, robust, adaptable, reusable).
D.We will make sure that each requirement is satisfied.
E. We will add doc string when writing each function.
F.We will ask professor and TA suggestion regularly.
Scope:
Function(checked):
Google_weather: check whether it can google the weather information
place_order: check whether customer can place the order
add_order: check whether customer can add items to order
send_info: check whether send the information to the database
get_info: check whether can get customer information
add_cart: check whether can add items to shopping cart
remove_cart: check whether can remove items to shopping cart
clear_all: check whether can clear all the information
Function(not be checked):
Display_order: The web page is able to display the order information.
Testing:
Background information: We will both do a regression test and unit test.
Test add_order
Usage: Used to add order of coffee (purchase coffee)
Pre-Condition: None
Action: Click the button of add_order
Post-Condition: The output(price and quantity of coffee) should be displayed to user and the calculation should be correct
Test remove_order
Usage: Used to delete order of coffee (cancel coffee)
Pre-Condition: None
Action: Click the button of remove_order
Post-Condition: The output(price and quantity of coffee) should be displayed to user and the calculation should be correct
Test google_weather (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 get_info and send_info
Usage: Used to get and 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.
Test add_cart
Usage: Used to calculate the final price and quantity after add all coffee
Pre-Condition: None
Action: Click the button of add_cart
Post-Condition: The output(price and quantity of coffee) should be displayed to user and the calculation should be correct
Test remove_cart
Usage: remove what customers currently have in the shopping cart
Pre-Condition: None
Action: Click the button of remove_cart
Post-Condition: The output(price and quantity of coffee) should be displayed to user and the calculation should be correct
Test clear_all
Usage: Used to clear all information
Pre-Condition: None
Action: Click the button of clear_all
Post-Condition: all information will be deleted(empty)
Inspection
Readme File is on the Homepage.
Product Show: