Skip to content

Gooey's Quests Test Plan

Isaac edited this page Dec 17, 2016 · 13 revisions

The following page will contain a test plan for the Gooey's Quests module.

Setup

  • Download the Gooey's Quests module using the command gradlew fetchModuleGooeysQuests in the Terasology root directory
  • Compile and run the game using gradlew game
  • Load a new world with only Gooey's Quests module (and its dependencies) activated using the seed qjRr4iMEWpqdl83Ra4wkYy2mMaHQVm8l
  • Verify that the world loads with no crashes or errors by checking the console

Gooey Tests

  • After the world has loaded, verify that Gooey, Terasology's mascot, has spawned nearby!
  • Verify that Gooey has sent a message in chat: "Hi, up for some dungeon exploration?"

  • Verify that a dialog appears when the press the "Use Target" button (E by default) on Gooey, containing a message and 4 choices as shown here

  • Click on the "Please follow me" button
  • Verify that Gooey has sent a message in chat: "Lead the way, I will follow you"
  • Move away from Gooey a distance of greater than 4 blocks
  • Verify that Gooey follows you and moves within a distance of 4 blocks

  • Open Gooey's dialog again, and click on the "Please stay here" button
  • Verify that Gooey has sent a message in chat: "Ok, I will stay here"
  • Move away from Gooey a distance a distance of greater than 4 blocks
  • Verify that Gooey does not follow you

  • Open Gooey's dialog again, and click on the "Yes, please add a dungeon to this world"
  • Verify that Gooey has sent a message in chat: "Ha ha, that will be fun!"
  • Look around, and verify that a new dungeon entrance has appeared in a nearby mountain

  • Open Gooey's dialog again, and click on the "That's all" button
  • Verify that dialog closes and nothing else happens

Dungeon Tests

  • Enter the dungeon generated from before
  • Verify that a single chest is present in the dungeon
  • Open the chest
  • Verify that the chest contains a single Bronze Dagger

Monster Tests

  • Getting ready to run away, spawn a Skeleton by typing spawnPrefab Skeleton in the console (open with ` or F1 by default)
  • Start running away from the Skeleton!
  • Verify that the Skeleton chases you continuously

  • Stop running away and let the Skeleton catch up to you
  • Verify that the Skeleton deals damage to you and kills you after 3 attacks

Clone this wiki locally