Skip to content

kmccabe1/planetarium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Use Case

  • 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

Test Data

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"

Decision Tables

User Registration

ScenarioUsernamePasswordResult
Positive Scenariovalid usernamevalid passworduser registered
Negative Scenario Username not uniquenon-unique usernamevalid passworduser not registered
Negative Scenario Username too longtoo long usernamevalid passworduser not registered
Negative Scenario Password too longvalid usernametoo long passworduser not registered
Negative Scenario credentials too longtoo long usernametoo long passworduser not registered
Negative Scenario username taken and password too longnon-unique usernametoo long passworduser not registered

User Login

ScenarioUsernamePasswordResult
Positive Scenarioregistered usernamecorrect passworduser logged in
Negative Scenario Username not registerednot registered usernamevalid passworduser not logged in
Negative Scenario Password incorrectregistered usernamewrong passworduser not logged in

Add New Planet

ScenarioPlanet nameImageResult
Positive Scenariovalid planet nameN/Aplanet added "owned" by user
Positive Scenariovalid planet namevalid imageplanet added with image and "owned" by user
Negative Scenario Planet name not unique and no imagenon-unique planet nameN/Aplanet not added
Negative Scenario Planet name not unique and valid imagenon-unique planet namevalid imageplanet not added
Negative Scenario Planet name too long and no imagetoo long planet nameN/Aplanet not added
Negative Scenario Planet name too long and valid imagetoo long planet namevalid imageplanet not added

Add New Moon

ScenarioMoon namePlanet IDImageResult
Positive Scenariovalid moon namevalid planet idN/Amoon added "owned" by planet id
Positive Scenariovalid moon namevalid planet idvalid imagemoon added with image "owned" by planet id
Negative Scenario Moon name not unique and no imagenon-unique moon namevalid planet idN/Amoon not added
Negative Scenario Moon name not unique and valid imagenon-unique moon namevalid planet idvalid imagemoon not added
Negative Scenario Moon name too long and no imagetoo long moon namevalid planet idN/Amoon not added
Negative Scenario Moon name too long and valid imagetoo long moon namevalid planet idvalid imagemoon not added
Negative Scenario Planet ID invalid and no imagevalid moon nameinvalid planet idN/Amoon not added
Negative Scenario Planet ID invalid and valid imagevalid moon nameinvalid planet idvalid imagemoon not added
Negative Scenario Moon name too long, invalid planet id, and no imagetoo long moon nameinvalid planet idN/Amoon not added
Negative Scenario Moon name too long, invalid planet id, and valid imagetoo long moon nameinvalid planet idvalid imagemoon not added
Negative Scenario Moon name not unique, invalid planet id, and no imagenon-unique moon nameinvalid planet idN/Amoon not added
Negative Scenario Moon name not unique, invalid planet id, and valid imagenon-unique moon nameinvalid planet idvalid imagemoon not added

Delete Planet

ScenarioPlanet NameResult
Positive Scenarioexisting planet nameplanet deleted
Negative Scenarionon-existing planet nameplanet failed to delete

Delete Moon

ScenarioMoon NameResult
Positive Scenarioexisting moon namemoon deleted
Negative Scenarionon-existing moon namemoon failed to delete

View Planets/Moons

ScenarioView PlanetView MoonPlanet AddedMoon AddedResult
Positive Scenario View Planet addedYesN/AYesN/AUser can view the planet successfully added
Positive Scenario View Moon addedN/AYesN/ANoUser can view the moon successfully added

Test Cases

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
  1. Get to landing page
  2. Pick option to create account
  3. Provide valid username
  4. Provide valid password
  5. Select create to register account
User should be registered with the planetarium application TBDKevinIn 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
  1. Get to landing page
  2. Pick option to create account
  3. Provide non-unique username
  4. Provide valid password
  5. User should be informed account creation failed
User not registered TBDKevinIn 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
  1. Get to landing page
  2. Pick option to create account
  3. Provide too long username
  4. Provide valid password
  5. User should be informed account creation failed
User not registered TBDKevinIn 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
  1. Get to landing page
  2. Pick option to create account
  3. Provide valid username
  4. Provide too long password
  5. User should be informed account creation failed
User not registered TBDKevinIn 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
  1. Get to landing page
  2. Pick option to create account
  3. Provide too long username
  4. Provide too long password
  5. User should be informed account creation failed
User not registered TBDKevinIn 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
  1. Get to landing page
  2. Pick option to create account
  3. Provide non-unique username
  4. Provide too long password
  5. User should be informed account creation failed
User not registered TBDKevinIn 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
  1. Get to landing page
  2. Provide existing username
  3. Provide correct password
  4. User should be logged in
User logged in TBDKevinIn 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
  1. Get to landing page
  2. Provide non-existing username
  3. Provide valid password
  4. User should be informed login attempt failed
User failed to login TBDKevinIn 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
  1. Get to landing page
  2. Provide existing username
  3. Provide wrong password
  4. User should be informed login attempt failed
User failed to login TBDKevinIn 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
  1. Successfully login
  2. Provide valid planet name
  3. Provide no image
  4. Planet should be added to planetarium
Planet added to planetarium with no image and "owned" by user TBDKevinIn 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
  1. Successfully login
  2. Provide valid planet name
  3. Provide valid image
  4. Planet should be added to planetarium with image
Planet added to planetarium with provided image and "owned" by user TBDKevinIn 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
  1. Successfully login
  2. Provide non-unique planet name
  3. Provide no image
  4. User should be informed planet was not added to planetarium
Planet not added to planetarium TBDKevinIn 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
  1. Successfully login
  2. Provide non-unique planet name
  3. Provide valid image
  4. User should be informed planet was not added to planetarium
Planet not added to planetarium TBDKevinIn 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
  1. Successfully login
  2. Provide too long planet name
  3. Provide no image
  4. User should be informed planet was not added to planetarium
Planet not added to planetarium TBDKevinIn 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
  1. Successfully login
  2. Provide too long planet name
  3. Provide valid image
  4. User should be informed planet was not added to planetarium
Planet not added to planetarium TBDKevinIn 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
  1. Successfully login
  2. Provide valid moon name
  3. Provide valid planet id
  4. Provide no image
  5. User should be informed moon was added to planetarium
Moon added to planetarium "owned" by planet id TBDKevinIn 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
  1. Successfully login
  2. Provide valid moon name
  3. Provide valid planet id
  4. Provide valid image
  5. User should be informed moon was added to planetarium
Moon added with image to planetarium "owned" by planet id TBDKevinIn 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
  1. Successfully login
  2. Provide non-unique moon name
  3. Provide valid planet id
  4. Provide no image
  5. User should be informed moon was not added to planetarium
Moon not added to planetarium TBDKevinIn 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
  1. Successfully login
  2. Provide non-unique moon name
  3. Provide valid planet id
  4. Provide valid image
  5. User should be informed moon was not added to planetarium
Moon not added to planetarium TBDKevinIn 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
  1. Successfully login
  2. Provide too long moon name
  3. Provide valid planet id
  4. Provide no image
  5. User should be informed moon was not added to planetarium
Moon not added to planetarium TBDKevinIn 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
  1. Successfully login
  2. Provide too long moon name
  3. Provide valid planet id
  4. Provide valid image
  5. User should be informed moon was not added to planetarium
Moon not added to planetarium TBDKevinIn 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
  1. Successfully login
  2. Provide valid moon name
  3. Provide invalid planet id
  4. Provide no image
  5. User should be informed moon was not added to planetarium
Moon not added to planetarium TBDKevinIn 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
  1. Successfully login
  2. Provide valid moon name
  3. Provide invalid planet id
  4. Provide valid image
  5. User should be informed moon was not added to planetarium
Moon not added to planetarium TBDKevinIn 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
  1. Successfully login
  2. Provide too long moon name
  3. Provide invalid planet id
  4. Provide no image
  5. User should be informed moon was not added to planetarium
Moon not added to planetarium TBDKevinIn 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
  1. Successfully login
  2. Provide too long moon name
  3. Provide invalid planet id
  4. Provide valid image
  5. User should be informed moon was not added to planetarium
Moon not added to planetarium TBDKevinIn 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
  1. Successfully login
  2. Provide non-unique moon name
  3. Provide invalid planet id
  4. Provide no image
  5. User should be informed moon was not added to planetarium
Moon not added to planetarium TBDKevinIn 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
  1. Successfully login
  2. Provide non-unique moon name
  3. Provide invalid planet id
  4. Provide valid image
  5. User should be informed moon was not added to planetarium
Moon not added to planetarium TBDKevinIn 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
  1. Successfully login
  2. Provide existing planet name
  3. User should be informed planet was removed from planetarium
Planet removed from planetarium TBDKevinIn 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
  1. Successfully login
  2. Provide non-existing planet name
  3. User should be informed planet was not removed from planetarium
Planet not removed from planetarium TBDKevinIn 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
  1. Successfully login
  2. Provide existing moon name
  3. User should be informed moon was removed from planetarium
Moon removed from planetarium TBDKevinIn 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
  1. Successfully login
  2. Provide non-existing moon name
  3. User should be informed moon was not removed from planetarium
Moon not removed from planetarium TBDKevinIn Progress

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published