Test Plan - mdj117/Smithing GitHub Wiki
#Fetching the module
- gradlew fetchModuleSmithing
- gradlew fetchModuleEquipmentSmithing
##Test (Running the game with the module)(1)
- Fetch the module using gradlew fetchModuleSmithing
- Run the game via gradlew game
- Make sure that only the Smithing module is activated
- Verify that the game has started and is running
- Check for errors in the Console
##Test (Station check)(1)
- Fetch PortableSmithingStation via give PortableSmithingStation
- Select the PortableSmithingStation
- Right click to check if it opens
##Test (Coal/Charcoal check)(2)
- Fetch Smithing:coal via give coal
- Select the Smithing:Coal and place it in the slot
- Check to see if the Station is Working
- Repeat step 2 and 3 with Charcoal
##Test (Heat dissipation check for Coal/Charcoal) (2)
- Fetch the coal via give item. Item can be either coal or charcoal
- Place Smithing:coal in the station
- Wait till it's consumed (Should take a while)
- Repeat 5 time with different items inside it
- Repeat step 1 2 3 and 4 with Charcoal
##Test (Making bars)(3)
- Get the pieces via give (Smithing:itemname) in this case the itemname can be bronze/tin/copper
- Place two pieces of Smithing:Coppernuggets into the station
- Place a hammer in the tool section of the UI
- Place a Charcoal/coal for heat
- Copper Bar should be made/ Verify correct bar is made
- Repeat 1 2 3 and 4 with Tin and Bronze nuggets
##Test (Making a Basic Smithing Station) (1)
- Place two blocks of Cobblestone next to each other
- Use copperforgehammer on the top of them
- Check if the texture of both of the blocks change
- Check if the Smithing Station UI comes up when the player interacts with any of the two blocks
- Try to make a bar.
##Test (Upgrade) (1)
- Fetch a copper structure via give copperstructure
- Fetch a basic smithing station via give BasicSmithingStation
- Place 3 blocks of copperstructure in the BasicSmithingStation (lower left corner)
- Now click upgrade button
- Check if replaced by standardsmithingstation (has 3 more input slots)
- Try to make a smithing:copperbar
Test (Tools)
- Fetch a 2 bars of copper via give copperbar
- Fetch a portable smithing station via give portablesmithingstation
- Fetch a copperforgehammer via give copperforgehammer
- Fetch a few pieces of charcoal via give charcoal
- Place 2 bars next to each other on the top left corner (4 block)
- Place a copperforgehammer in the tools section (the first line with 4 block)
- Place the pieces of charcoal in the block under the thermometer
- Wait a few second, the option to craft should be visible now on the top right corner