-
Notifications
You must be signed in to change notification settings - Fork 0
Hero UI Improvements Test Plan
This test plan focuses on the improvements made to the Hero UI in order for the overall UI to be structured in a coherent and logical manner
There are no testable features for this Test Plan
Whilst in the Select Hero menu, when the skin for the hero is changed, those changes should be reflected in the UI. These UI interactions depend on the rendering and input systems from LibGDX and therefore JUnit tests are not suitable for this style of interaction. The correct functionality can be verified in the video here by seeing that the colour of the hero changes when a different skin was selected.
This test ensures that the colour of the hero in-game matches the hero skin selected pre-game in the Select Hero menu. As this requires LibGDX rendering systems, JUnit tests are unsuitable for this interaction. The correct functionality can seen in the video here by seeing that the hero placed in the game has the same skin as the hero in the UI screen
This test ensures that the samurai sword shown in-game matches the sword selected pre-game in the Select Hero menu. As this requires LibGDX rendering systems, JUnit tests are unsuitable for this interaction. The correct functionality can seen in the video here by seeing that when the samurai is placed in the game, the colour of the sword has changed.
This test ensures that turrets can only be placed on the path. In addition, it ensures that enemies that pass through the turrets are not automatically destroyed - just get one hit of damage. Again, this requires LibGDX rendering and input systems, making JUnit tests unsuitable to be used. The correct functionality can found in the video here by seeing that the enemies are damaged once while going past the sentry, not automatically destroyed.
The above videos attached show that the hero has been moved to the mid-to-bottom right part of the screen where it is partitioned off from other systems, improving the clarity and coherence of the UI.