Requirement
Traceability:
Requirement 3
Purpose:
Procedure:
Delete the “save” directory if it exists
and then 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 the New Solo Game button |
|
The
solo 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 is continually counting upward. |
|
Press
the UP directional button once |
|
The
robot moves up one space. The Moves
field now reads 1. |
|
Press
the Undo button |
|
The
robot moves down on space. The Moves
field now reads 0. |
|
Press
the RIGHT directional button once |
|
The
robot moves right one space. The Moves
field now reads 1. |
|
Click
the Undo button |
|
The robot moves left space. The Moves field now reads 0. |
|
Press
the DOWN directional button once |
|
The
robot moves down one space. The Moves
field now reads 1. |
|
Press
the Undo button once |
|
The
robot moves up only one space. The Moves
field now reads 0. |
|
Press
the UP directional button once |
|
The
robot moves up one space. The Moves
field now reads 1. |
|
Press
the RIGHT directional button seven times |
|
The
robot moves to the right seven spaces.
The Moves field now reads 8. |
|
Press
the Undo button twice |
|
The
robot moves to the left two spaces and is directly above the crate. The Moves field now reads 6. |
|
Press
the DOWN directional button once |
|
The
robot and the crate move down one space.
The Moves field now reads 7 and the Pushes field reads
1. |
|
Press
the Undo button once |
|
The
robot and the crate move down one space.
The Moves field now reads 6 and the Pushes field reads
0. |
|
Press
the RIGHT directional button once |
|
The
robot moves to the right one space.
The Moves field now reads 7. |
|
Press
the DOWN directional button once |
|
The
robot moves down one space and is directly to the right of the crate. The Moves field now reads 8. |
|
Press
the Left directional button once |
|
The
robot and the crate move left one space.
The Moves field now reads 9 and the Pushes field reads
1. |
|
Press
the Undo button once |
|
The
robot and the crate move right one space.
The Moves field now reads 8 and the Pushes field reads
0. |
|
Press
the DOWN directional button once |
|
The
robot moves down one space. The Moves
field now reads 9. |
|
Press
the LEFT direction button once |
|
The
robot moves left one space and is directly below the crate. The Moves field now reads 10. |
|
Press
the UP directional button once |
|
The
robot and the crate move up one space.
The Moves field now reads 11 and the Pushes field reads
1. |
|
Press
the Undo button once |
|
The
robot and the crate move down one space.
The Moves field now reads 10 and the Pushes field reads
0. |
|
Press
the LEFT directional button once |
|
The
robot moves left one space. The Moves
field now reads 11. |
|
Press
the UP directional button once |
|
The
robot moves up one space and is directly to the left of the crate. The Moves field now reads 12. |
|
Press
the RIGHT directional button once |
|
The
robot and the crate move right one space.
The Moves field now reads 13 and the Pushes field reads
1. |
|
Press
the Undo button once |
|
The
robot and the crate move left one space.
The Moves field now reads 12 and the Pushes field reads
0. |
|
Click
End Game |
|
A dialog box asking you if you want to
end the current game is displayed. |
|
Click
Yes |
|
The main menu is displayed. |
|
Click
Game | Exit |
|
The application closes. |