-
Notifications
You must be signed in to change notification settings - Fork 2
Test Plan for CookIngredientComponent
The purpose of this plan is to test the basic functionality of the cook ingredient component.
- Framework: JUnit4
- Objects Used: Oven, stove
The purpose of this test is to verify that an ingredient starts cooking when the cooking event is triggered.
testCookingStarts()
When the 'cookIngredient' event is triggered, the getIsCooking()
method of the CookIngredientComponent
should return true
.
The purpose of this test is to verify that an ingredient becomes cooked after a certain event is triggered.
testIngredientBecomesCooked()
- When the 'cookIngredient' event is triggered, the cooking process should start.
- After the specified time has passes the
cookItem()
method should be triggered on theIngredientComponent
.
The purpose of this test is to verify that the cooking process stops when the stopCookingIngredient
event is triggered.
testStopCooking()
- When the 'stopCookIngredient' event is triggered, the
getIsCooking()
method should returnfalse
.
The purpose of this test is to verify that the ingredient becomes burnt if too much time has passed since it was cooked.
testIngredientBecomesBurnt()
- After the cooking time has passed and the ingredient is cooked, the
burnItem
method on theIngredientComponent
should be triggered. - The cooking process should stop and the
getIsCooking
method should returnfalse
The purpose of this test is to verify that rage mode affects the cooking time.
testRageMode
- When the
rageModeOn
event is triggered cooking times should be reduced allowing the ingredient to cook faster. - The
cookItem()
method should be called after a reduced amount of time compared to normal conditions.
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