- ID: 1
- Name: User Registration
- Description: Users should be able to open a new User account with the Planetarium
- System: Planetarium Application
- Preconditions:
- No registered user with username "Yelan Burst Depth-Clarion Dice"
- Registered user with username "Yelan"
- Actors:
- User
- Planetarium Application
- ID: 2
- Name: User Login
- Description: Users should be able to securely access their account
- System: Planetarium Application
- Preconditions:
- User account with valid username and valid password from Test Data created
- Actors:
- User
- Planetarium Application
- ID: 3
- Name: View Planets/Moons
- Description: Users should be able to see planets and moons added to the Planetarium
- System: Planetarium Application
- Preconditions:
- User is logged in
- Actors:
- User
- Planetarium Application
- ID: 4
- Name: Add New Planet
- Description: Users should be able to add new Planets to the Planetarium
- System: Planetarium Application
- Preconditions:
- User is logged in
- No planet with name "UmbrabilisOrchisExquisiteThrow"
- Actors:
- User
- Planetarium Application
- ID: 5
- Name: Remove Planet
- Description: Users should be able to remove Planets from the Planetarium
- System: Planetarium Application
- Preconditions:
- User is logged in
- Planet with name "UmbrabilisOrchisExquisiteThrow" exists
- Actors:
- User
- Planetarium Application
- ID: 6
- Name: Add Moon
- Description: Users should be able to add Moons to the Planetarium associated with a Planet
- System: Planetarium Application
- Preconditions:
- User is logged in
- Planet with name "UmbrabilisOrchisExquisiteThrow" exists
- No moon with name "" exists
- Actors:
- User
- Planetarium Application
- ID: 7
- Name: Remove Moon
- Description: Users should be able to remove Moons from the Planetarium
- System: Planetarium Application
- Preconditions:
- User is logged in
- Planet with name "UmbrabilisOrchisExquisiteThrow" exists
- Moon with name "" exists
- Actors:
- User
- Planetarium Application
Positive:
- valid username = "Yelan Burst Depth-Clarion Dice"
- valid password = "Turn Control Adapt With Ease!!"
- valid planet name = "UmbrabilisOrchisExquisiteThrow"
- valid moon name = "Imperatrix Umbrosa Wishbearer!"
- existing username = "Yelan"
- valid planet id = "1"
- existing planet name = "Furina"
- existing moon name = "Fischl"
Negative:
- non-unique username = "Yelan"
- non-existing username = "Raiden"
- correct password = "Aqua Simulacra"
- wrong password = "Lingering Lifeline"
- too long username = "Beware the Trickster's Dice!!!!"
- too long password = "Necessary Calculation Passive!!"
- non-unique planet name = "Furina"
- too long planet name = "Bait-and-Switch Dealer'sSleight"
- too long moon name = "Secret Art: Musou Shinsetsu!!!!"
- non-unique moon name = "Fischl"
- invalid planet id = "99"
- non-existing planet name = "Beidou"
- non-existing moon name = "Layla"
| Scenario | Username | Password | Result |
|---|---|---|---|
| Positive Scenario | valid username | valid password | user registered |
| Negative Scenario Username not unique | non-unique username | valid password | user not registered |
| Negative Scenario Username too long | too long username | valid password | user not registered |
| Negative Scenario Password too long | valid username | too long password | user not registered |
| Negative Scenario credentials too long | too long username | too long password | user not registered |
| Negative Scenario username taken and password too long | non-unique username | too long password | user not registered |
| Scenario | Username | Password | Result |
|---|---|---|---|
| Positive Scenario | registered username | correct password | user logged in |
| Negative Scenario Username not registered | not registered username | valid password | user not logged in |
| Negative Scenario Password incorrect | registered username | wrong password | user not logged in |
| Scenario | Planet name | Image | Result |
|---|---|---|---|
| Positive Scenario | valid planet name | N/A | planet added "owned" by user |
| Positive Scenario | valid planet name | valid image | planet added with image and "owned" by user |
| Negative Scenario Planet name not unique and no image | non-unique planet name | N/A | planet not added |
| Negative Scenario Planet name not unique and valid image | non-unique planet name | valid image | planet not added |
| Negative Scenario Planet name too long and no image | too long planet name | N/A | planet not added |
| Negative Scenario Planet name too long and valid image | too long planet name | valid image | planet not added |
| Scenario | Moon name | Planet ID | Image | Result |
|---|---|---|---|---|
| Positive Scenario | valid moon name | valid planet id | N/A | moon added "owned" by planet id |
| Positive Scenario | valid moon name | valid planet id | valid image | moon added with image "owned" by planet id |
| Negative Scenario Moon name not unique and no image | non-unique moon name | valid planet id | N/A | moon not added |
| Negative Scenario Moon name not unique and valid image | non-unique moon name | valid planet id | valid image | moon not added |
| Negative Scenario Moon name too long and no image | too long moon name | valid planet id | N/A | moon not added |
| Negative Scenario Moon name too long and valid image | too long moon name | valid planet id | valid image | moon not added |
| Negative Scenario Planet ID invalid and no image | valid moon name | invalid planet id | N/A | moon not added |
| Negative Scenario Planet ID invalid and valid image | valid moon name | invalid planet id | valid image | moon not added |
| Negative Scenario Moon name too long, invalid planet id, and no image | too long moon name | invalid planet id | N/A | moon not added |
| Negative Scenario Moon name too long, invalid planet id, and valid image | too long moon name | invalid planet id | valid image | moon not added |
| Negative Scenario Moon name not unique, invalid planet id, and no image | non-unique moon name | invalid planet id | N/A | moon not added |
| Negative Scenario Moon name not unique, invalid planet id, and valid image | non-unique moon name | invalid planet id | valid image | moon not added |
| Scenario | Planet Name | Result |
|---|---|---|
| Positive Scenario | existing planet name | planet deleted |
| Negative Scenario | non-existing planet name | planet failed to delete |
| Scenario | Moon Name | Result |
|---|---|---|
| Positive Scenario | existing moon name | moon deleted |
| Negative Scenario | non-existing moon name | moon failed to delete |
| Scenario | View Planet | View Moon | Planet Added | Moon Added | Result |
|---|---|---|---|---|---|
| Positive Scenario View Planet added | Yes | N/A | Yes | N/A | User can view the planet successfully added |
| Positive Scenario View Moon added | N/A | Yes | N/A | No | User can view the moon successfully added |
| Test Case ID | Description | Preconditions | Test Data | Steps | Expected Outcome | Actual Outcome | Tester | Status |
|---|---|---|---|---|---|---|---|---|
| 1 | Given a valid username and password a user should be able to register with the Planetarium | No registered user with username "Yelan Burst Depth-Clarion Dice" | valid username, valid password |
|
User should be registered with the planetarium application | TBD | Kevin | In Progress |
| 2 | Given a non-unique username and valid password a user should not be able to register an account | Registered user with username "Yelan" | non-unique username, valid password |
|
User not registered | TBD | Kevin | In Progress |
| 3 | Given a too long username and valid password a user should not be able to register an account | N/A | too long username, valid password |
|
User not registered | TBD | Kevin | In Progress |
| 4 | Given a valid username and too long password a user should not be able to register an account | N/A | valid username, too long password |
|
User not registered | TBD | Kevin | In Progress |
| 5 | Given a too long username and too long password a user should not be able to register an account | N/A | too long username, too long password |
|
User not registered | TBD | Kevin | In Progress |
| 6 | Given a non-unique username and too long password a user should not be able to register an account | Registered user with username "Yelan" | non-unique username, too long password |
|
User not registered | TBD | Kevin | In Progress |
| 7 | Given an existing username and correct password a user should be able to login | Registered user with username "Yelan" | existing username, correct password |
|
User logged in | TBD | Kevin | In Progress |
| 8 | Given an non-existing username and valid password a user should not be able to login | N/A | non-existing username, valid password |
|
User failed to login | TBD | Kevin | In Progress |
| 9 | Given an existing username and wrong password a user should not be able to login | Registered user with username "Yelan" | existing username, wrong password |
|
User failed to login | TBD | Kevin | In Progress |
| 10 | Given a valid planet name and no image a user should be able to add the planet to planetarium | No planet with name "UmbrabilisOrchisExquisiteThrow" | valid planet name, no image |
|
Planet added to planetarium with no image and "owned" by user | TBD | Kevin | In Progress |
| 11 | Given a valid planet name and valid image a user should be able to add the planet to planetarium | No planet with name "UmbrabilisOrchisExquisiteThrow" | valid planet name, valid image |
|
Planet added to planetarium with provided image and "owned" by user | TBD | Kevin | In Progress |
| 12 | Given a non-unique planet name and no image a user should not be able to add the planet to planetarium | N/A | non-unique planet name, no image |
|
Planet not added to planetarium | TBD | Kevin | In Progress |
| 13 | Given a non-unique planet name and valid image a user should not be able to add the planet to planetarium | N/A | non-unique planet name, valid image |
|
Planet not added to planetarium | TBD | Kevin | In Progress |
| 14 | Given a too long planet name and no image a user should not be able to add the planet to planetarium | N/A | too long planet name, no image |
|
Planet not added to planetarium | TBD | Kevin | In Progress |
| 15 | Given a too long planet name and valid image a user should not be able to add the planet to planetarium | N/A | too long planet name, valid image |
|
Planet not added to planetarium | TBD | Kevin | In Progress |
| 16 | Given a valid moon name, valid planet id, and no image a user should be able to add the moon to planetarium | No moon with name "Imperatrix Umbrosa Wishbearer!" | valid moon name, valid planet id, no image |
|
Moon added to planetarium "owned" by planet id | TBD | Kevin | In Progress |
| 17 | Given a valid moon name, valid planet id, and valid image a user should be able to add the moon to planetarium | No moon with name "Imperatrix Umbrosa Wishbearer!" | valid moon name, valid planet id, valid image |
|
Moon added with image to planetarium "owned" by planet id | TBD | Kevin | In Progress |
| 18 | Given a non-unique moon name, valid planet id, and no image a user should not be able to add the moon to planetarium | N/A | non-unique moon name, valid planet id, no image |
|
Moon not added to planetarium | TBD | Kevin | In Progress |
| 19 | Given a non-unique moon name, valid planet id, and valid image a user should not be able to add the moon to planetarium | N/A | non-unique moon name, valid planet id, valid image |
|
Moon not added to planetarium | TBD | Kevin | In Progress |
| 20 | Given a too long moon name, valid planet id, and no image a user should not be able to add the moon to planetarium | N/A | too long moon name, valid planet id, no image |
|
Moon not added to planetarium | TBD | Kevin | In Progress |
| 21 | Given a too long moon name, valid planet id, and valid image a user should not be able to add the moon to planetarium | N/A | too long moon name, valid planet id, valid image |
|
Moon not added to planetarium | TBD | Kevin | In Progress |
| 22 | Given a valid moon name, invalid planet id, and no image a user should not be able to add the moon to planetarium | N/A | valid moon name, invalid planet id, no image |
|
Moon not added to planetarium | TBD | Kevin | In Progress |
| 23 | Given a valid moon name, invalid planet id, and valid image a user should not be able to add the moon to planetarium | N/A | valid moon name, invalid planet id, valid image |
|
Moon not added to planetarium | TBD | Kevin | In Progress |
| 24 | Given a too long moon name, invalid planet id, and no image a user should not be able to add the moon to planetarium | N/A | too long moon name, invalid planet id, no image |
|
Moon not added to planetarium | TBD | Kevin | In Progress |
| 25 | Given a too long moon name, invalid planet id, and valid image a user should not be able to add the moon to planetarium | N/A | too long moon name, invalid planet id, valid image |
|
Moon not added to planetarium | TBD | Kevin | In Progress |
| 26 | Given a non-unique moon name, invalid planet id, and no image a user should not be able to add the moon to planetarium | N/A | non-unique moon name, invalid planet id, no image |
|
Moon not added to planetarium | TBD | Kevin | In Progress |
| 27 | Given a non-unique moon name, invalid planet id, and valid image a user should not be able to add the moon to planetarium | N/A | non-unique moon name, invalid planet id, valid image |
|
Moon not added to planetarium | TBD | Kevin | In Progress |
| 28 | Given a existing planet name a user should be able to remove the planet from the planetarium | Planet with name "Furina" in planetarium | existing planet name |
|
Planet removed from planetarium | TBD | Kevin | In Progress |
| 29 | Given a non-existing planet name a user should not be able to remove the planet from the planetarium | No planet with name "Beidou" in planetarium | non-existing planet name |
|
Planet not removed from planetarium | TBD | Kevin | In Progress |
| 30 | Given a existing moon name a user should be able to remove the moon from the planetarium | Moon with name "Fischl" in planetarium | existing moon name |
|
Moon removed from planetarium | TBD | Kevin | In Progress |
| 31 | Given a non-existing moon name a user should not be able to remove the moon from the planetarium | No moon with name "Layla" in planetarium | non-existing moon name |
|
Moon not removed from planetarium | TBD | Kevin | In Progress |