Terrain Movement Modifiers Test Plan - UQcsse3200/2023-studio-1 GitHub Wiki

Feature Testing

The Terrain Movement Modifiers for the player and non-player entities are tested in the PhysicsMovementComponentTest and PlayerActionsTest classes. The JUnit tests in these files validate the calculateVelocityVector() method used in both the PhysicsMovementComponent and PlayerActions classes when updating the entity's speed. The JUnit tests in the PhysicsMovementComponentTest class also test to ensure that the flying entities are not affected by the terrain movement modifiers.

The terrain movement modifiers can be further tested within the game by observing entities' movement speeds on different terrain types. If an entity is spawned on ICE terrain, the entity will have noticeably increased speed until it walks off the ICE onto SNOW where the terrain movement modifier is much lower. Conversely, this effect is not observable in flying entities such as bats and fireflies.

User Testing

If user testing is conducted for the terrain movement modifiers, it is recommended to use simple testing methods such as think-aloud, interviews, and questionnaires to gauge users' opinions on the speed modifiers in the game. These methods should try to determine the following:

Topic Insight Reasoning
Player Movement Speed Users should be asked questions about how they feel about player movement within the game This is to gauge if users are happy with the speed of movement of the player
Non-Player Entities Movement Speeds Users should be asked questions about how they feel about the movement of non-player entities within the game This will determine if the player thinks that the movement of other entities makes sense in relation to their own movement speeds
Ease of Learning of Movement Modifiers Users should be questioned and observed on how well they handled the changes in player speeds due to different terrain movement modifiers and how they dealt with this This will allow us to see if the terrain movement modifiers make sense and are evident from initial experiences and the visual appearances of the tiles
Satisfaction with Movement Modifiers for Different Terrain Tiles The users should be asked their opinions on the terrain movement modifiers This will generate additional feedback that may not have been collected with prior tests, allowing for more insight