Skip to content

Polishing Code Testing

Tay edited this page Oct 18, 2022 · 7 revisions

Introduction

In accordance with the Test Plan tests were written for the many different classes.

Tests

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

Future Updates

In the future, the team will need to expand upon tests for all classes to ensure test coverage is as high as possible.

Table of Contents

Home

How to Play

Introduction

Game Features

Main Character

Enemies
The Final Boss

Landscape Objects

Shop
Inventory
Achievements
Camera

Crystal

Infrastructure

Audio

User Interfaces Across All Pages
Juicy UI
User Interfaces Buildings
Guidebook
[Resource Management](Resource-Management)
Map
Day and Night Cycle
Unified Grid System (UGS)
Polishing

Game Engine

Getting Started

Entities and Components

Service Locator

Loading Resources

Logging

Unit Testing

Debug Terminal

Input Handling

UI

Animations

Audio

AI

Physics

Game Screens and Areas

Terrain

Concurrency & Threading

Settings

Troubleshooting

MacOS Setup Guide

Clone this wiki locally