-
Notifications
You must be signed in to change notification settings - Fork 2
Keybinds Test Plan
Framework: JUnit 5
-
Objects Used:
-
KeybindsButtonDisplay
(under test) -
Stage
,Spritebatch
,Table
,Skin
,Texture
(mocked) -
ServiceLocator
,RenderService
,ResourceService
(mocked)
-
Purpose: check if Spritebatch initialised through mocking is not null.
Setup: mocks Spritebatch in setup(), then verifies if not null.
Expected Outcome: batch should not be null.
Purpose: checks mocked initialised components are not null.
Setup: mocks instance of KeybindsButtonDisplay
class, its stage
, KeybindButton
, KeybindMenu
, KeybindText
, in setup(). Then ensures values are not null.
Expected Outcome: initialised components should not be null.
Purpose: checks if button toggles the visibility of keybinds' menu and text display.
Setup: checks if menu and text are not visible, then calls showKeybinds(true) to trigger the visibility of menu and text.
Expected Outcome: menu and text should be visible if showKeybinds is triggered, not visible if not.
Purpose: checks if tables dispose.
Setup: calls dispose, which disposes tables of KeybindsButtonDisplay class: Button
, Menu
and Text
.
Expected Outcome: tables should dispose.
Inventory System
Scoring System
Food Recipes
Level System
Player Actions
Ordering System
Stations
Items
Map Design
Customers
Pause Menu
Upgrades
End of Day Display
Day Night Cycle
Moral System
Debug Terminal
Game Interactions Tutorial
Backstory Cutscenes
Entities and Components
Input Handling
Game Screens and Areas
Fire Extinguisher Handler Component
MainGameActions Create Docket Triggers
Main Game Order Button Display
BackstoryCutsceneDisplay Test Plan
Test Plan for MainGameOrderTicketDisplay
Test Plan for MainGameOrderBtnDisplay
Test Plan for DocketLineDisplay
Test plan for RandomComboService
Test plan for SpeedBoostUpgrade
Test plan for DancePartyUpgrade