Map Testing - UQcsse3200/2024-studio-2 GitHub Wiki

Map Testing

Overview

This page provides an outline for testing the different tile types and map functionality within the game. It includes test cases for verifying the proper rendering, collision detection, and interactions across various tile types.

Unit Testing

Unit testing for each file and function created. The following tests include:

  • Testing player positions and Map responses
  • Map Chunks
    • Initialization
  • Generating Tiles
  • Testing UI and Tile Graphics

    • When kingdom switches, mini-map UI should change
  • Testing Map Changes

QA Testing

To test the Map generation the following steps are to be actioned:

  1. Run game.
  2. Can walk around game smoothly - NPC's, items, and enemies spawn successfully.
  3. Collision when walking into a Map Obstacle (trees, starfish, seaweed, and cloud)
  4. Defeat final boss and traverse to new kingdom
  5. Can return to previous kingdom at anytime
  6. Press 'M' to display Map Tab