QuestBasicTests - UQcsse3200/2024-studio-2 GitHub Wiki

This plan outlines the tests conducted to verify the creation and behavior of basic quests in the game. Each test aims to ensure that the quest system works as expected, handling various scenarios related to quest setup, progression, and failure.

Testing Plan

Creation Tests

  • basicQuestSetup() Tests if constructor sets up the quest with all its attributes as expected.
  • basicQuestFalseCompletion() Tests the state of a quest that progresses but is not completed, verifying attributes like name, description etc and quest tasks have been fully completed.
  • basicQuestFailure() Tests the state of a quest that fails, that the quest becomes inactive, cannot be progressed, and is earmarked as having failed.