-
Notifications
You must be signed in to change notification settings - Fork 0
Polishing Code Testing
Tay edited this page Oct 18, 2022
·
7 revisions
In accordance with the Test Plan tests were written for the many different classes.
Requirement | Test case addressed by |
---|---|
Movement AI should Generate a path | shouldGeneratePath |
Movement AI should move in the UGS based on path | shouldMoveOnUpdate |
Movement AI should be able to pathfind around objects | shouldPathAroundObjects |
TerrainFactory should load levels from map files | shouldLoadLevels |
TerrainFactory should create generic tiles | shouldLoadTiles |
No part of the map should be empty | shouldFillMap |
Map size should be able to shink/expand | shouldIncrementLevel |
Buildings on water should be destroyed | shouldDamageBuildings |
Map tiles should be changed to night versions on time change | shouldChangeAtNight |
UGS Should be updated when map level changes | shouldUpdateUGS |
ProjectileFactory should create a projectile | shouldCreateProjectile |
MainGameTutorial should create and dispose of actors | shouldCreateAndDispose |
In the future, the team will need to expand upon tests for all classes to ensure test coverage is as high as possible.
The Final Boss
Shop
Inventory
Achievements
Infrastructure
User Interfaces Across All Pages
User Interfaces Buildings
Guidebook
[Resource Management](Resource-Management)