Skip to content

SimpleFarming Test Plan

jellysnake edited this page Jan 3, 2018 · 3 revisions

Note: This test plan has a specific order, please follow the test sections in order so that it's easier for you to test the module. You can use the give <item name> command to get the items needed.

As this module contains no content, EdibleFlora is used to provide the test item

Setup

Before we begin testing the functionality of the module, we need to make sure that the module is running without any conflicts and errors by following this steps:

  1. Startup the game through the launcher
  2. Create a new world with only EdibleFlora and it's dependencies enabled.
  3. Verify that the world loads correctly and that the console log doesn't print out any errors.

In order to obtain the items in a control manner please use the give commands via the console, which can be displayed using `or f1

Seeds

  1. Use give Apple
  2. Right click on the ground whilst holding the Apple
  3. Verify that the Apple is removed
  4. Verify that an Apple Bush has been planted where you right clicked.

Growth

Basic Growth Test

  1. Plant another Apple like in the Seeds section.
  2. Verify that it steps through multiple stages
  3. Verify that the stages are all different.

Duration growth test

  1. Plant three Apples as quickly as possible.
  2. Verify that they all progress through the stages but at different times

Harvesting

  1. Plant a new Apple and press E on it before it reaches the last stage.
  2. Verify nothing happens.
  3. Press E on it once it is fully grown
  4. Verify that the bush regresses one stage
  5. Verify that you now have been given at least one Apple

Destruction

  1. Plant a new Apple
  2. Destroy it before it is fully grown.
  3. Verify that it drops nothing
  4. Destroy a fully grown bush from a previous test.
  5. Verify that it drops Apples.
Clone this wiki locally