-
Notifications
You must be signed in to change notification settings - Fork 0
Use cases
name: Adding an exercise to existing program
primary actor(s): user
preconditions: you own the exercise or trainer has sent it to you (you can see the exercise on your list of exercises); you have the existing program
expected result: New exercise added to the program; exercise count is increased by one.
main success scenario:
- User sees the list of programs he has.
- User selects a program by tapping on it.
- User sees a list of exercises that are associated with selected program (are included in selected program)
- User selects the „exercise“ tab.
- User sees a list that contains all the exercises that the user has.
- User clicks the „add“ button behind the name of the exercise.
- Exercise is added to the program; exercise count is increased by one.
alternative scenarios:
first:
6a) User clicks on the name of the exercise
7a) User sees the screen of the exercise.
8a) User swipes back to the list of exercises. (continues from point 5 in main scenario)
name: Creating a new program
primary actor(s): user
preconditions: none
expected result: new program is created
main success scenario:
- User sees the screen of programs view (if he hasn’t got any, the list is empty)
- User clicks the „add“ button.
- User sees the list of clients.
- User selects a client.
- User sees the screen for creating a program.
- User names the program.
- User selects template to use for creating.
- User presses „forward“ button.
- Program appears in the list of user programs.
- User sees a list that contains all the exercises that are in the template.
- User selects the „exercise“ tab.
- User sees a list that contains all the exercises that the user has.
- User clicks the „add“ button behind the name of the exercise.
- Exercise is added to the program; exercise count is increased by one.
alternative scenarios:
first:
4a) User clicks „add“ button.
5a) User fills in client details.
6a) User selects „add“.
7a) Client is added to the list. (continues from point 4 in main scenario)
second:
4b) User clicks „add“ button.
5b) User fills in client details.
6b) User selects „cancel“.
7b) Client is not added to the list. (continues from point 4 in main scenario)
third:
4c) User clicks „add“ button.
5c) User leaves one client field unfilled.
6c) The „add“ button is not selectable.
7c) User has the opportunity to fill all fields and select „add“ (in which case the client is added to the list) or press „cancel“. (continues from point 4 in main scenario)
fourth:
6d) User does not give the program a name.
7d) User selects template to use for creating.
8d) The „forward“ button is not selectable.
fifth:
7e) User presses „forward“ button.
8e) Program appears in the list of user programs.
9e) User sees an empty list. (continues from point 11 in main scenario)