-
Notifications
You must be signed in to change notification settings - Fork 2
Title and Context Screen Testing Plan
MrMeatballs edited this page Sep 16, 2021
·
2 revisions
Created tests for three classes:
-
ContextScreenActions
-
playGame
- Tests whether the play Game function is working by changing the game screen from theCONTEXT
screen to theMAIN_GAME
screen
-
-
TitleScreenActions
-
goMenu
- This tests whether the goMenu function is working by changing the game screen from theTITLE_SCREEN
to theMAIN_MENU
screen
-
-
TitleScreen
-
TitleScreen
- Tests whether the title screen is working in creation -
goMenu
- This tests whether the goMenu function is working by changing the game screen from theTITLE_SCREEN
to theMAIN_MENU
screen from the Title Screen rather than theTitleScreenActions
. -
keyDown
- Tests whether the key down function is working by reading a keyboard input
-
-
keyDown
- Could use more tests in ensuring a proper connection is made between TitleScreen and KeyboardTitleInputComponent.- Could test other keys users could press (e.g. 'etc' key or 'power button').
- Could enhance with more mock tests to fully emulate the game running in the test.
Entities and Components
Interaction System
Unit Testing
Input Handling
UI
Game Screens and Areas
Map Generation
Basic Interactable Objects Design