Skip to content

Test plan sprint 2

Veenit254 edited this page Sep 17, 2026 · 3 revisions

Testing is divided into automated unit tests and manual gameplay tests.

Automated Unit Testing

cd source
./gradlew spotlessCheck :core:test

Files:

Used JUnit testing and mostly got 100% coverage on instructions and branches

  • EnemyStatDisplayTest.java
  • PlayerStatsDisplayTest.java
  • StatusEffect.java
  • StatusEffectsControllerComponentTest.java
  • StatusEffectsFactory.java
image image image image image

Manual Testing

  1. Player HUD -> Start the game, you can see the player health bar and other relevant stats at the top left corner
  2. Interactable pop-up -> Start the game, go near any dungeon a pop up will appear at the top right corner, while you go near any charm drop a pop will appear
  3. Commands to test status effects -> Press F1, type command
Command Effect
effect burn Reduces health by 1 every second for 10 seconds.
effect regeneration Increases health by 1 every second for 10 seconds.
effect slow Reduces player speed by 0.5 for 10 seconds.
effect speed Increases player speed by 0.5 for 10 seconds.
effect vulnerable Makes player take double damage for 5 seconds.
effect freeze Reduces player speed to 0 for 3 seconds.
  1. Enemy health bar display -> When you start the game, go to any dungeon, enemy will spawn with its health bar and updates when get any damage
  2. When run the game you will find out the new MainMenuScreen
  3. Player shield-> HUD display on the left bottom corner shows the bar of extra health provided, further getting deliberately hit by enemies shows how both the shield options work.

Table of Contents

Home

Test Plan

Team 2

Features

Components
Player
Items and Inventory
Enemies
Interactable NPCs
Cutscenes and Dialogue
Music
Bosses
Rooms
Weapons
Abilities & Spells
Game Screens and Areas
Dungeons

Game Engine

Getting Started

Entities and Components

Service Locator

Loading Resources

Logging

Unit Testing

Debug Terminal

Input Handling

UI

Animations

Audio

AI

Physics

Terrain

Concurrency & Threading

Settings

Troubleshooting

MacOS Setup Guide

Clone this wiki locally