marouen-lamiri / Second-Soul

Unity-Game
2 stars 0 forks source link

Load Data #78

Closed marouen-lamiri closed 9 years ago

marouen-lamiri commented 10 years ago

[Priority: 2] [SP: 3] As a user, i want to be able to load my data

smileyWolf commented 9 years ago

Discussion ...

The US #78 is directly related to US #77

marouen-lamiri commented 9 years ago

All commits related to this story committed, also related to #77 :

smileyWolf commented 9 years ago

Black-Box Testing

Tests # Inputs Expected Output Status
Load Fighter's Primary Stats Game Started The Fighter's Primary Stats that were previously saved are loaded successfully. Pass
Load Sorcerer's Primary Stats Game Started The Sorcerer's Primary Stats that were previously saved are loaded successfully. Pass
Load Inventory Items Game Started The Inventory Items that were previously saved are loaded successfully. Pass
Load Equipped Items Game Started The Equipped Items that were previously saved are loaded successfully. Pass

Regression Testing

These issues have been retested: #65 #64 #27 #28 #29 Tests failed: None Last edit: 07/04/2015

smileyWolf commented 9 years ago

Demo Steps

  1. Load Fighter's Primary Stats.
    1. Notice the console's log when the game starts that the Fighter's Primary Stats were loaded.
  2. Load Sorcerer's Primary Stats.
    1. Notice the console's log when the game starts that the Sorcerer's Primary Stats were loaded.
  3. Load Inventory Items.
    1. Attack and kill an Enemy.
    2. Pick up the Item dropped by the killed Enemy.
    3. Stop the game.
    4. Start the game.
    5. Press the 'i'-key and notice the Item that was previously saved to the Inventory; see the console's log when the game starts that the Inventory Items were loaded.
  4. Load Equipped Items.
    1. Attack and kill an Enemy.
    2. Pick up the Item dropped by the killed Enemy.
    3. Apply an Inventory Item to the Fighter by dragging it to the appropriate place.
    4. Stop the game.
    5. Start the game.
    6. Press the 'i'-key and notice the Item that was previously saved as equipped; see the console's log when the game starts that the Equipped Items were loaded.
Kishor0122 commented 9 years ago

Saved data (character stats, inventory items) is correctly loaded when game is re-started. Signing off.