Requirement Traceability:
Requirement
44
Purpose:
Verify the user can pause the
game
Procedure:
1.
Follow the steps below.
Test
Data:
|
Action |
Input |
Expected Output |
|
Start Sokoban game |
|
The program will begin
with the opening graphics sequence and display the main menu. |
|
Click on New Solo Game button |
|
The single player game
begins on the first level with “Level 1” displayed in the Level Name
field on the right side of the application window. The level has one crate and one incinerator. Score, Moves, Pushes,
and Crates Incinerated are all set to 0. The timer, starting at 0, is continually counting upward. |
|
Move
robot 2 spaces up |
|
Moves field now reads 2. |
|
Move robot 2 spaces to the
right |
|
Moves field now reads 4. |
|
Move
robot 2 spaces down |
|
Moves field now reads 6. |
|
Select Pause button |
|
The game is paused. Time
elapsed counter is paused and a black screen is placed over the level
area with the words "Game Paused" appearing on it. |
|
Select Resume button |
|
The game resumes. Time elapsed counter starts
counting upward from where it was paused. |
|
Move
robot 8 spaces to the right |
|
Moves field now reads 14. Pushes field reads 6. |
|
Move robot 1 space up |
|
Moves field now reads 15. |
|
Select
Level
| Pause |
|
The game is paused. Time
elapsed counter is paused and a black screen is placed over the level
area with the words "Game Paused" appearing on it. |
|
Select Level | Resume |
|
The game resumes. Time elapsed counter starts
counting upward from where it was paused. |
|
Move
robot 1 space right |
|
Moves field now reads 16. Pushes field now reads 6. |
|
Move robot 6 spaces down |
|
Moves field now reads 22. Pushes field now reads 12. |
|
Select
Game | Exit |
|
The program terminates. |