-
Notifications
You must be signed in to change notification settings - Fork 2
Test Plan for SpawnRecipeCommands
- Framework: JUnit4
- Objects Used: -
The purpose of this test is to verify that the SpawnRecipeCommands
can successfully spawn a "Banana Split" meal and add it to the players inventory.
testSpawnBananaSplit()
- The inventory is initially empty and not full.
- A "Banana Split" meal entity is created using mocked ingredients (
strawberry
,chocolate
,banana
). - The spawned meal is added to the players inventory.
- The command returns
true
, indicating success.
The purpose of this test is to verify that the SpawnRecipeCommands
handles invalid recipe names and does not add anything to the inventory.
testInvalidArgument()
- The recipe argument is invalid.
- No item is created or added to the players inventory.
- The command returns
false
, indicating failure.
The purpose of this test is to verify that the SpawnRecipeCommands
can successfully spawn a "Fruit Salad" meal and add it to the players inventory.
testSpawnFruitSalad()
- The inventory is initially empty and not full.
- A "Fruit Salad" meal entity is created using mocked ingredients (
strawberry
,banana
). - The spawned meal is added to the players inventory.
- The command returns
true
, indicating success.
The purpose of this test is to verify that the SpawnRecipeCommands
fails to execute when no arguments are provided.
testNoArgs()
- No arguments are passed to the command.
- No item is created or added to the players inventory.
- The command returns
false
, indicating failure due to missing arguments.
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