CutsceneArea TestPlan - UQcsse3200/2024-studio-3 GitHub Wiki
Test Environment
- Framework: JUnit 4
- Objects Used: CutsceneArea, ResourceService (mocked), EntityService(mocked)
Test Cases - Testing SensorComponent Methods
-
Game Area Initialisation - The purpose is to verify that the Game Area is properly initialised with necessary components like the current cutscene value and checking that it is stored correctly. The expected result is that the cutscene value is the same as the one given upon initialisation.
-
Creating a Cutscene - The purpose is to verify the cutscene is created properly with the correct cutscene being created as well as determining if it is the correct cutscene to be made. The expected result is for a day2 cutscene to be made when the cutscene value is at 1 and for no cutscene to be made is the cutscene value is invalid, i.e. -1.