-
Notifications
You must be signed in to change notification settings - Fork 2
Test Plan for Tutorial
Framework: JUnit 5
GdxGame: The main class under test.
ServiceLocator: Manages the services used in the game.
Mocked components like RenderService to simulate their behavior.
Mock and statically mock input handling to simulate user input.
Purpose: check whether it moves to next tutorial step with right input
Setup: start the TutorialScreenDisplay and call advanceTutorialStep()
Expected Outcome: The tutorial step advances on right input .
Purpose: Check that the next tutorial step should not be displayed with wrong input .
Setup: fix the tutorial step to a specific input only and call advanceTutorialStep().
Expected Outcome: The tutorial step doesnt change .
Purpose: Verify after pressing enter the main game starts
Setup: Set the tutorial step to the final step and simulate the enter key press.
Expected Outcome: The current screen redirects to MAIN_GAME.
Purpose: Verify that the resources are disposed afterwards .
Setup: Call dispose()
Expected Outcome: Resources related to the tutorial are released, and flags are reset.#
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