Skip to content

Test Cases

Addy edited this page Sep 17, 2025 · 2 revisions

Test Cases

Overview

This page provides an overview of the test cases for the No Escape project. Each test case is designed to validate specific functionalities and ensure the game operates as intended.

Test Case Structure

Each test case includes the following components:

  • Test Case ID: A unique identifier for the test case.
  • Description: A brief description of what the test case aims to validate.
  • Preconditions: Any conditions that must be met before executing the test case.
  • Steps: A detailed list of steps to execute the test case.
  • Expected Result: The expected outcome of the test case.

Inventory Window

INVWIN001: Open Inventory

  • Test Case ID: INVWIN001
  • Description: Verify that the inventory window opens correctly.
  • Preconditions: Player is in a safe location.
  • Steps:
    1. Press the "I" key to open the inventory.
    2. Observe the inventory window.
  • Expected Result: The inventory window is displayed with the correct items listed.

INVWIN002: Close Inventory

  • Test Case ID: INVWIN002
  • Description: Verify that the inventory window closes correctly.
  • Preconditions: Inventory window is open.
  • Steps:
    1. Press the "I" key again to close the inventory.
    2. Observe the screen.
  • Expected Result: The inventory window is closed and the game screen is displayed.

INVWIN003: Item Selection

-->

Clone this wiki locally