-
Notifications
You must be signed in to change notification settings - Fork 9
Test Plan For Asset Loading
This test plan outlines the structure for testing similar classes in the Sprint 4. It serves as a template for documenting the testing process for various classes that uses Asset Loading .
The classes that run the Test For Asset Loading are :
- NavigationBackgroundTest.java
- ControlsScreenDisplayTest.java
- ControlsScreenTest.java
- SettingsScreenTest.java
- InitialScreenDisplayTest.java
- ReturntoPlanetDisplayTest.java
- TutorialScreenTest.java
Before running the test case, the necessary setup is performed:
- The LibGDX application is mocked to run in a headless desktop environment to prevent graphics-related issues during testing.
- An instance of the
GdxGame
is created. - A set of loaded assets is initialized.
This test case verifies whether the texture asset is successfully loaded in the provided classes.
- Create an instance of the provided class.
- Retrieve the texture from the created instance of your class.
- Verify that the texture is not null, indicating successful asset loading.
This wiki page provides documentation for classes and its associated test cases, testAssetLoading()
. By running this test case, we ensure that the class can reliably load the texture asset, maintaining the reliability and correctness of the components in the game.
Escape Earth Game
Interaction Controller and Interactable Components
Game and Entity Configuration Files
Loading Game Configuration Files