Repository navigation
test plan sprint 4
Krish edited this page Oct 22, 2026
·
3 revisions
Save file system added tests:
| Test | Purpose | Expected Result |
|---|---|---|
captureIncludesRoomPositionAndRunTimerData |
Capture a player at (12.5, 8.25) with saved run/dungeon time. |
The room ID, exact position, 95-second run time and dungeon time entries are captured. |
restorePlayerRestoresPlayerStatsAndRunTimerData |
Restore saved gold, health and timer values. | Gold becomes 84, health 45, run time 80 seconds and Dungeon One time 55 seconds. |
| Test | Purpose | Expected Result |
|---|---|---|
storesAndReturnsCurrentRoomId |
Set a room ID. | Reading returns that ID. |
returnsTheMostRecentlySetRoomId |
Set two room IDs successively. | Reading returns the second ID. |
throwsWhenNoCurrentRoomHasBeenSet |
Read immediately after reset. | Throws IllegalStateException. |
resetClearsTheCurrentRoomId |
Set an ID, reset, then read. | Throws IllegalStateException. |
Achievements tested using : Test Plan
Run the game and listen the music, then after splash screen enjoy the intro sound and screen then press space to go to main menu screen and start your game (find new layout)
Entities and Components
Input Handling
- Service Locator
- Loading Resources
- Logging
- Unit Testing
- Debug Terminal
- Animations
- Audio
- AI
- Physics
- Terrain
- Concurrency & Threading
- Settings