-
Notifications
You must be signed in to change notification settings - Fork 1
Use Cases
Lily(Zhi) Li edited this page Feb 16, 2017
·
45 revisions
| Item | Description |
|---|---|
| Title | Add Mood Event |
| Primary Actor | User |
| Goal | Add a mood event for the user |
| Trigger | Click on add mood event button |
| Precondition | Want to record a mood event |
| Postcondition | Mood event added and shows the date and time, a required emotional state, optional trigger, and optional social situation. Emotional states has been chosen(anger, confusion, disgust, fear, happiness, sadness, shame, and surprise). |
| Basic Flow |
|
| Exceptions |
|
| Related Use Cases | UC 02.01.01 & UC 02.02.01 & UC 02.03.01 & UC 02.04.01 |
| Related User Stories | US 01.01.01 & US 01.01.02 & US 02.04.01 |
| Test Cases |
| Item | Description |
|---|---|
| Title | Delete Mood Event |
| Primary Actor | User |
| Goal | Delete a mood event for the user |
| Trigger | Click on delete event button |
| Precondition | Want to delete the mood event |
| Postcondition | Selected mood will be removed from the Mood History list. |
| Basic Flow |
|
| Exceptions |
|
| Related Use Cases | UC 01.04 |
| Related User Stories | US 01.06.01 |
| Test Cases |
| Item | Description |
|---|---|
| Title | Edit Mood Event |
| Primary Actor | User |
| Goal | Edit the details of a given mood event of mine |
| Trigger | Click the menu and select the edit |
| Precondition | User wants to edit one of his/her own post |
| Postcondition | The selected moods are available to change and save on Mood History. |
| Basic Flow |
|
| Exceptions |
|
| Related Use Cases | UC 01.01 & UC 01.04 |
| Related User Stories | US 01.05.01 |
| Test Cases |
| Item | Description |
|---|---|
| Title | View Mood Event |
| Primary Actor | User |
| Goal | View the details of a given mood event of mine |
| Trigger | Press the Mood which the user want to view. |
| Precondition | The user wants to view the details and the mood exits. |
| Postcondition | The details/attributes of a mood will be shown in a new page. |
| Basic Flow |
|
| Exceptions | |
| Related Use Cases | |
| Related User Stories | US 01.04.01 |
| Test Cases |
| Item | Description |
|---|---|
| Title | View all mood history list |
| Primary Actor | User |
| Goal | View all mood history list (include mine and followers) |
| Trigger | Click home button |
| Precondition | User want to see all mood history about list himself/herself and his/her follower(s) |
| Postcondition | User see the all mood history list |
| Basic Flow |
|
| Exceptions | |
| Related Use Cases | UC 01.01 & UC 01.02 & UC 01.03 & UC 01.04 & UC 04.01 |
| Related User Stories | US 01.02.01 & US 01.03.01 & US 01.05.01 & US 01.06.01 |
| Test Cases |
| Item | Description |
|---|---|
| Title | Add textual explanation |
| Primary Actor | User |
| Goal | Add textual explanation to explain the mood |
| Trigger | Click on the input box |
| Precondition | The input box is blank |
| Postcondition | Shows the input of the user |
| Basic Flow |
|
| Exceptions |
|
| Related Use Cases | UC 01.01 |
| Related User Stories | US 01.01.01 |
| Test Cases |
| Item | Description |
|---|---|
| Title | Add photo |
| Primary Actor | User |
| Goal | Add a picture to express the reason why for a mood event |
| Trigger | Click on add picture button |
| Precondition | There is no picture in the activity |
| Postcondition | A picture added for the user |
| Basic Flow |
|
| Exceptions |
|
| Related Use Cases | UC 01.01.01 |
| Related User Stories | US 02.02.01 & US 02.03.01 |
| Test Cases |
| Item | Description |
|---|---|
| Title | Add social situation |
| Primary Actor | User |
| Goal | Add a social situation for the user |
| Trigger | Click on the pull down menu of Social Situation |
| Precondition | The social situation is blank |
| Postcondition | The social situation is chosen by the user |
| Basic Flow |
|
| Exceptions |
|
| Related Use Cases | UC 01.01 |
| Related User Stories | US 02.04.01 |
| Test Cases |
| Item | Description |
|---|---|
| Title | Sign up |
| Primary Actor | User |
| Goal | Add new account for user |
| Trigger | Click sign up |
| Precondition | new user or exist user who want a new account |
| Postcondition | get a new account with unique username |
| Basic Flow |
|
| Exceptions |
|
| Related Use Cases | |
| Related User Stories | US 03.01.01 |
| Test Cases |
| Item | Description |
|---|---|
| Title | Sign in |
| Primary Actor | User |
| Goal | Sign in the user’s account |
| Trigger | Click the sign in button |
| Precondition | User already had a account |
| Postcondition | sign in the account of user |
| Basic Flow |
|
| Exceptions |
|
| Related Use Cases | |
| Related User Stories | US 03.01.01 |
| Test Cases | UC |