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