Update Use Cases
parent
6390ea468a
commit
bef5aed997
147
Use-Cases.md
147
Use-Cases.md
@ -1,21 +1,19 @@
|
||||
### Use Case 1 – Create admin
|
||||
|
||||
| Action | Create admin |
|
||||
|------------------------|----------------------------------------------------------|
|
||||
| Actor | Manager |
|
||||
| Pre-conditions | Logged in as manager |
|
||||
| Post-conditions | A new admin is created |
|
||||
| Basic path | 1. Manager clicks menu button, enters “View Admins” page |
|
||||
| | 2. Manager enters “View Admins” page |
|
||||
| | 3. Manager clicks “Create new admin” |
|
||||
| | 4. Manager fills inn necessary information |
|
||||
| | 5. Manager clicks “submit” button |
|
||||
| Exception | 4.1 Manager doesn’t fill in admin name |
|
||||
| | 4.2 Manager doesn’t fill in initial password |
|
||||
| | 5.1 Manager doesn’t click the “submit” button |
|
||||
| Additional information | The following must be entered to create an admin: |
|
||||
| | - Admin name |
|
||||
| | - Initial password |
|
||||
| Action | Create admin |
|
||||
|------------------------|-----------------------------------------------------------------|
|
||||
| Actor | Manager |
|
||||
| Pre-conditions | Logged in as manager |
|
||||
| Post-conditions | A new admin is created |
|
||||
| Basic path | 1. Manager enters “View Admins” page |
|
||||
| | 2. Manager enters “Create new admin” page |
|
||||
| | 3. Manager fills inn necessary information and submits the form |
|
||||
| Exception | 3.1 Manager doesn’t fill in admin name |
|
||||
| | 3.2 Manager doesn’t fill in initial password |
|
||||
| | 3.3 Manager doesn’t submit |
|
||||
| Additional information | The following must be entered to create an admin: |
|
||||
| | - Admin username |
|
||||
| | - Initial password |
|
||||
|
||||
### Use case 2 – Create tournament
|
||||
|
||||
@ -24,36 +22,34 @@
|
||||
| Actor | Admin |
|
||||
| Pre-conditions | Logged in as admin or manager |
|
||||
| Post-conditions | A new tournament is created |
|
||||
| Basic path | 1. Admin clicks “Create New Tournament” |
|
||||
| Basic path | 1. Admin enter “Create New Tournament” page |
|
||||
| | 2. Admin fills inn necessary information |
|
||||
| | 3. Admin clicks “submit” button |
|
||||
| Exception | 2.1 Admin doesn’t fill in “Tournament name” |
|
||||
| | 2.2 Admin doesn’t fill in “Tournament description” |
|
||||
| | 2.3 Admin doesn’t fill in start and end time |
|
||||
| | 3.1 Admin doesn’t click the “submit” button |
|
||||
| | 3. Admin submits form |
|
||||
| Exception | 2.1 Admin doesn’t fill in “Tournament name” field |
|
||||
| | 2.2 Admin doesn’t fill in start and end time |
|
||||
| | 3.1 Admin doesn’t submit the form |
|
||||
| Additional information | The following must be entered to create a tournament: |
|
||||
| | - Tournament name |
|
||||
| | - Tournament description |
|
||||
| | - Tournament start and end time |
|
||||
|
||||
### Use-case 3 – Create team
|
||||
|
||||
| Action | Create team |
|
||||
|------------------------|-------------------------------------------------------|
|
||||
| Actor | Admin |
|
||||
| Pre-conditions | Logged in as an administrator |
|
||||
| Post-conditions | A new team has been created |
|
||||
| Basic path | 1. Admin clicks menu button, enters “View teams” page |
|
||||
| | 2. Admin enters “Manage teams” page |
|
||||
| | 3. Admin clicks “Create new team” |
|
||||
| | 4. Admin fills inn necessary information |
|
||||
| | 5. Admin clicks “submit” button |
|
||||
| Exception | 4.1 Admin doesn’t fill in “Team name” |
|
||||
| | 4.2 Admin doesn’t fill in any team members |
|
||||
| | 5.1 Admin doesn’t click the “submit” button |
|
||||
| Additional information | The following must be entered to create a team: |
|
||||
| | - Team name |
|
||||
| | - Team members |
|
||||
| Action | Create team |
|
||||
|------------------------|--------------------------------------------------|
|
||||
| Actor | Admin |
|
||||
| Pre-conditions | Logged in as an administrator |
|
||||
| Post-conditions | A new team has been created |
|
||||
| Basic path | 1. Admin enters “View teams” page |
|
||||
| | 2. Admin enters “Manage teams” page |
|
||||
| | 3. Admin enters “Create new team” page |
|
||||
| | 4. Admin fills inn necessary information |
|
||||
| | 5. Admin submits form |
|
||||
| Exception | 4.1 Admin doesn’t fill in “Team name” field |
|
||||
| | 4.2 Admin doesn’t fill in any team members |
|
||||
| | 5.1 Admin doesn’t submit the form |
|
||||
| Additional information | The following must be entered to create a team: |
|
||||
| | - Team name |
|
||||
| | - Team members |
|
||||
|
||||
### Use-case 4 – Delete admin
|
||||
|
||||
@ -61,17 +57,17 @@
|
||||
|------------------------|-----------------------------------------------------------|
|
||||
| Actor | Manager |
|
||||
| Pre-conditions | Logged inn as manager |
|
||||
| Post-conditions | A new admin is created |
|
||||
| Basic path | 1. Manager clicks menu button, enters “View Admins” page |
|
||||
| | 2. Manager enters “View Admins” page |
|
||||
| | 3. Manager clicks “Remove Admin” |
|
||||
| Post-conditions | An admin is deleted |
|
||||
| Basic path | 1. Manager enters “View Admins” page |
|
||||
| | 3. Manager enters “Remove Admin” |
|
||||
| | 4. Manager selects the intended admin(s) to remove |
|
||||
| | 5. Manager clicks “submit” button |
|
||||
| Exception | 4.1 Manager can’t remove an admin which is also a manager |
|
||||
| | 4.2 Admin no longer exists |
|
||||
| | 5.1 Manager doesn’t click the “submit” button |
|
||||
| | 5. Manager confirms choice |
|
||||
| Exception | 3.1 Manager can’t remove another manager |
|
||||
| | 3.2 Admin no longer exists, already deleted from database |
|
||||
| | 5.1 Manager doesn’t confirm choice |
|
||||
| Additional information | The following must be true to delete an admin |
|
||||
| | - Selected admin must still exist in the database |
|
||||
| | - Manager must confirm choice |
|
||||
|
||||
### Use-case 5 – Manage tournament
|
||||
|
||||
@ -80,61 +76,50 @@
|
||||
| Actor | Admin |
|
||||
| Pre-conditions | Logged in as an administrator |
|
||||
| Post-conditions | Selected tournament has been edited and saved |
|
||||
| Basic path | 1. Admin clicks “Manage Tournament” |
|
||||
| Basic path | 1. Admin enters “Manage Tournament” page |
|
||||
| | 2. Admin fills inn desired information |
|
||||
| | 3. Admin clicks “submit” button |
|
||||
| Exception | 3.1 Admin doesn’t click the “submit” button |
|
||||
| | 3. Admin submits changes |
|
||||
| Exception | 3.1 Admin doesn’t submit |
|
||||
| Additional information | To save the edited information at least one field must be filled out |
|
||||
|
||||
### Use-case 6 – Complete tournament
|
||||
|
||||
| Action | Complete tournament |
|
||||
|------------------------|------------------------------------------------------------------------------------------------|
|
||||
| Actor | Admin |
|
||||
| Pre-conditions | A tournament must exist and have played matches |
|
||||
| Post-conditions | The tournament is completed |
|
||||
| Basic path | 1. Admin clicks “Tournament Overview” |
|
||||
| | 2. Admin clicks “Complete tournament” |
|
||||
| Exception | 2.1 Tournament has already been completed automatically |
|
||||
| Additional information | Tournaments will be completed automatically when there is selected a winner for the last match |
|
||||
|
||||
### Use-case 7 – Delete tournament
|
||||
### Use-case 6 – Delete tournament
|
||||
|
||||
| Action | Delete tournament |
|
||||
|------------------------|-------------------------------------|
|
||||
| Actor | Admin |
|
||||
| Pre-conditions | Logged in as an administrator |
|
||||
| Post-conditions | The selected tournament is deleted |
|
||||
| Basic path | 1. Admin clicks “Manage Tournament” |
|
||||
| | 2. Admin clicks “Delete tournament” |
|
||||
| Basic path | 1. Admin enters “Manage Tournament” |
|
||||
| | 2. Admin deletes tournament |
|
||||
| Exception | There are no active tournaments |
|
||||
| Additional information | |
|
||||
|
||||
### Use-case 8 – Manage team
|
||||
### Use-case 7 – Manage team
|
||||
|
||||
| Action | Manage team |
|
||||
|------------------------|----------------------------------------------------------------------|
|
||||
| Actor | Admin |
|
||||
| Pre-conditions | Logged in as an administrator |
|
||||
| Post-conditions | Selected team has been edited and saved |
|
||||
| Basic path | 1. Admin clicks menu button, enters “View teams” page |
|
||||
| Basic path | 1. Admin enters “View teams” page |
|
||||
| | 2. Admin enters “Manage team” page |
|
||||
| | 4. Admin fills inn desired information |
|
||||
| | 5. Admin clicks “submit” button |
|
||||
| Exception | 4.1 There are no teams created |
|
||||
| | 5.1 Admin doesn’t click the “submit” button |
|
||||
| | 3. Admin fills inn desired information |
|
||||
| | 4. Admin submits changes |
|
||||
| Exception | 3.1 There are no teams created |
|
||||
| | 4.1 Admin doesn’t submit |
|
||||
| Additional information | To save the edited information at least one field must be filled out |
|
||||
|
||||
### Use-case 9 – Delete team
|
||||
### Use-case 8 – Delete team
|
||||
|
||||
| Action | Delete team |
|
||||
|------------------------|-------------------------------------------------------|
|
||||
| Actor | Admin |
|
||||
| Pre-conditions | Logged in as an administrator |
|
||||
| Post-conditions | Selected team has been deleted |
|
||||
| Basic path | 1. Admin clicks menu button, enters “View teams” page |
|
||||
| | 2. Admin clicks “Manage team” |
|
||||
| | 3. Admin clicks “Delete team” |
|
||||
| Exception | 2.1 There are no teams created |
|
||||
| Additional information | |
|
||||
| Action | Delete team |
|
||||
|------------------------|------------------------------------|
|
||||
| Actor | Admin |
|
||||
| Pre-conditions | Logged in as an administrator |
|
||||
| Post-conditions | Selected team has been deleted |
|
||||
| Basic path | 1. Admin enters “View teams” page |
|
||||
| | 2. Admin enters “Manage team” page |
|
||||
| | 3. Admin deletes team |
|
||||
| Exception | 2.1 There are no teams created |
|
||||
| Additional information | |
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user