Test Plan.md - SufurElite/Cooking GitHub Wiki
Home > Test Plan
Some Cooking Items/Recipes don't work for varied reasons typically consisting of not incrementing either food or hunger bar.
##Setup Test
- Download or update the Cooking Module
- Create a new world with only Cooking and it's dependencies activated
- Check that the world is created and loads without crashes or hanging
##Portable Cooking Station All the recipe testing requires a portable Cooking Station. In order to be properly set up for a recipe one must have a properly functioning and set up portable Cooking station.
- Spawn in the portable Cooking Station using ‘give portableCookingStation’.
- Spawn in a bucket entering ‘give WorkstationCrafting:woodenbucket’.
- Fill the wooden bucket with water by right clicking on a water source.
- Spawn in some sticks through entering ‘give WorkstationCrafting:Stick’ multiple times or typing ‘give stick [number wanted]’
- Right click with the portable Cooking Station in hand, then put the water in the slot that has the water meter to its right and six slots to its left.
- Then if the recipe one is testing requires a certain temperature the sticks might be necessary as fuel for a fire. If so then put the sticks in the slot immediately under the water meter to reach the desired temperature.
- To actually cook the item, one must click on the word that says cooking next to the fuel slot when the necessary ingredients are present in the six slots designated for them.
##Cooking Recipe and Item Tests
Each cooking recipe has a subtly different test procedure but the majority is the same. In the below plan see the cooking recipe’s specific section for it's Pre-Crafting and Post-Crafting steps.
A list of all cooking items names can be found in the source(TODO LINKY) and in game by running the command listItems
. By typing this command one can see all the items available by module, so just scroll to the cooking module and all the available items will be there.
- Spawn in the required food for the recipe using
give [Name Of Cooking Item]
if there is a recipe for it. If not skip to number 6. - Verify it spawned in and that it's texture and name exist
- Check the name and description for errors (eg, spelling)
- Try to Crafting the recipe in the Portable Crafting Station in the Pre-Crafting steps
- Test that the recipe can be Craftingd to create food
- One now verifies the item. If the recipe did not produce food, or if there was no recipe than also spawn it in, then try to spawn in the item to see if it works in the Post-Crafting steps.
- You can set your hunger to be lower if your hunger is already at maximum to see it progress.
- You can also do a hungerCheck before and after consumption of eating food to see the difference by entering ‘hungerCheck’.
###Recipe: Apple Juice
Pre-Crafting
- The recipe requires you to have 3 apples and 2 sugar with a temperature of at least 0.
- Crafting the Portable Cooking Station to make the apple juice.
- The Apple Juice on consumption is supposed to fill your food bar by 1, and your fluid bar by 8.
Post-Crafting
- Attempt to drink the apple juice, whilst paying attention to both your food and fluid bar.
###Recipe: Coconut Milk
Pre-Crafting
- The recipe requires a temperature of at least 20 and a processed coconut.
- Crafting the Portable Cooking Station to make the Coconut Milk, and it should give you 2 Coconut Milk.
- It is supposed to fill your food bar by .3 and your fluids bar by 2 on consumption.
Post-Crafting
- Attempt to drink the Coconut Milk, whilst paying attention to both your food and fluid bar.
###Recipe: Orange Juice
Pre-Crafting
- The recipe requires you to have 3 oranges, and 2 sugar with a temperature of at least 0.
- Crafting the Portable Cooking Station to make the Orange Juice.
- The Orange Juice on consumption is supposed to fill your food bar by 2, and your fluid bar by 7.
Post-Crafting*
- Attempt to drink the orange juice, whilst paying attention to both your food and fluid bar.
###Recipe: Peach Juice
Pre-Crafting
- The recipe requires 2 peach, and 1 sugar with a temperature of at least 0.
- Crafting the portable Cooking Station to make the Peach Juice.
- The Peach Juice upon consumption is supposed to fill your food bar by 1, and your fluid bar by 8.
Post-Crafting
- Attempt to drink the peach juice, whilst paying attention to both your food and fluid bar.
###Recipe: Pineapple Juice
Pre-Crafting
- The recipe requires a pineapple and 2 sugar with a temperature of at least 0.
- Crafting the portable Cooking Station to make the Pineapple Juice.
- The Pineapple Juice upon consumption is supposed to increase the food bar by 2, and the fluid bar by 3.
Post-Crafting
- Attempt to drink the pineapple juice, whilst paying attention to both your food and fluid bar.
###Recipe: Potato Salad
Pre-Crafting
- The recipe requires 3 potatoes, 1 groundSalt, and 1 lemon with a temperature of at least 0.
- Crafting the portable Cooking Station to make the potato salad.
- The potato salad upon consumption is supposed to fill your food bar by 5.
Post-Crafting
- Attempt to eat the potato salad, whilst paying attention to your food bar.
###Recipe: Guacamole
Pre-Crafting
- The recipe requires an avocado, 2 cooking salt, and 2 lemons with a temperature of at least 0.
- Crafting the portable Cooking Station to make the Guacamole.
- The Guacamole upon consumption is supposed to fill your food bar by 6 and your fluids bar by 2.
Post-Crafting
- Attempt to eat the Guacamole, whilst paying attention to both your food and fluid bar.
###Recipe: Fruit Salad
Pre-Crafting
- The recipe requires an apple, an avocado, a lemon, a mango, a peach, a pear, and a kiwi with a temperature of at least 0.
- Crafting the portable Cooking Station to make the fruit salad.
- The fruit salad upon consumption is supposed to fill your food bar by 8.
Post-Crafting
- Attempt to eat the Fruit Salad, whilst paying attention to both your food bar.
###Recipe: Coconut Processed
Pre-Crafting
- The recipe requires a singular coconut with a required temperature of at least 0.
- Crafting the portable Cooking Station to make the Coconut Processed.
- Confirm if the recipe is functional in creating a coconut processed.
###Recipe: Coconut Meat
Pre-Crafting
- The recipe requires 1 coconut processed with a temperature of at least 0.
- Crafting the portable Cooking Station to make two Coconut Meat.
- The Coconut Meat upon consumption is supposed to fill your food bar by 3 and your fluid bar by .3.
Post-Crafting
- Attempt to eat the coconut meat, whilst paying attention to both your food and fluid bar.
###Recipe: Apple Pie
Pre-Crafting
- The recipe requires 1 flour, 1 sugar, and 5 apples with a temperature of at least 200.
- Crafting the portable Cooking Station to make the Apple Pie.
- The Apple Pie upon consumption is supposed to fill your food bar by 5 and your fluid bar by 1.
Post-Crafting
- Attempt to eat the apple pie, whilst paying attention to both your food and fluid bar.
###Recipe: Banana Bread
Pre-Crafting
- The recipe requires 1 flour, 1 sugar, 3 banana, and 1 chocolate with a temperature of at least 200.
- Crafting the portable Cooking Station to make the Banana bread.
- The Banana Bread is supposed to fill your food bar by 3.
Post-Crafting
- Attempt to eat the banana bread, whilst paying attention to your food bar.
###Recipe: Boiled Egg.
Pre-Crafting
- The recipe requires an egg and a temperature of at least 100.
- Crafting the portable Cooking Station to make the boiled egg.
- The Boiled Egg is supposed to fill your food bar by 2.
Post-Crafting
- Attempt to eat the boiled egg, whilst paying attention to your food bar.
###Recipe: Bread
Pre-Crafting
- The recipe requires 1 flour and 1 salt with a temperature of at least 200.
- Crafting the portable Cooking Station to make the bread.
- The Bread is supposed to fill your food bar by 5.
Post-Crafting
- Attempt to eat the bread, whilst paying attention to your food bar.
###Recipe: Cake
Pre-Crafting
- The recipe requires 1 flour, 1 sugar, 2 eggs, 1 butter, and 1 chocolate with a temperature of at least 200.
- Crafting the portable Cooking Station to make the cake.
- The Cake is supposed to fill your food bar by 5.
Post-Crafting
- Attempt to eat the cake, whilst paying attention to your food bar.
###Recipe: Cooked Bean
Pre-Crafting
- The recipe requires 1 bean, 1 onion, 1 tomato, 1 salt, and a minimum temperature of 150.
- Crafting the portable Cooking Station to make the Cooked Bean.
- The Cooked Bean is supposed to fill your food bar by 4 and fluid bar by 2.
Post-Crafting
- Attempt to eat the cooked bean, whilst paying attention to both your food and fluid bar.
###Recipe: Cooked Brown Rice
Pre-Crafting
- The recipe requires brown rice and a minimum temperature of 90.
- Crafting the portable Cooking Station to make the Cooked Brown Rice.
- The Cooked Brown Rice is supposed to fill your food bar by 2.5 and your fluid bar by 1.
Post-Crafting
- Attempt to eat the cooked brown rice, whilst paying attention to both your food and fluid bar.
Recipe: Cooked Corn
Pre-Crafting
- The recipe requires 1 corn with a temperature of at least 90.
- Crafting the Portable Cooking Station to make the Cooked Corn, and it should give you 1 Cooked Corn.
- It is supposed to fill your food bar by 1.0 and your fluid bar by 1.0 on consumption.
Post-Crafting
- Attempt to eat the cooked corn, whilst paying attention to both your food and fluid bar.
Recipe: Cooked Kale
Pre-Crafting
- The recipe requires 1 kale with a temperature of at least 100.
- Crafting the Portable Cooking Station to make the Cooked Kale, and it should give you 1 Cooked Kale.
- It is supposed to fill your food bar by 2.0 and your fluid bar by 1.2 on consumption.
Post-Crafting
- Attempt to eat the kale, whilst paying attention to both your food and fluid bar.
Recipe: Cooked Onion
Pre-Crafting
- The recipe requires 1 onion with a temperature of at least 100.
- Crafting the Portable Cooking Station to make the Cooked Onion, and it should give you 1 Cooked Onion.
- It is supposed to fill your food bar by 1.0 and your fluid bar by 0.0 on consumption.
Post-Crafting
- Attempt to eat the cooked onion, whilst paying attention to both your food and fluid bar.
Recipe: Cooked Radish
Pre-Crafting
- The recipe requires 1 radish with a temperature of at least 100.
- Crafting the Portable Cooking Station to make the Cooked Radish, and it should give you 1 Cooked Radish.
- It is supposed to fill your food bar by 1.0 and your fluid bar by 1.0 on consumption.
Post-Crafting
- Attempt to eat the cooked radish, whilst paying attention to both your food and fluid bar.
Recipe: Cooked Rice
Pre-Crafting
- The recipe requires 1 white rice with a temperature of at least 90.
- Crafting the Portable Cooking Station to make the Cooked Rice, and it should give you 1 Cooked Rice.
- It is supposed to fill your food bar by 2.0 and your fluid bar by 1.0 on consumption.
Post-Crafting
- Attempt to eat the cooked rice, whilst paying attention to both your food and fluid bar.
Recipe: Cooked Turnip
Pre-Crafting
- The recipe requires 1 turnip with a temperature of at least 100.
- Crafting the Portable Cooking Station to make the Cooked Turnip, and it should give you 1 Cooked Turnip.
- It is supposed to fill your food bar by 1.0 and your fluid bar by 1.0 on consumption.
Post-Crafting
- Attempt to eat the cooked turnip, whilst paying attention to both your food and fluid bar.
Recipe: Cookie
Pre-Crafting
- The recipe requires 1 flour,1 chocolate, with a temperature of at least 200.
- Crafting the Portable Cooking Station to make the Cookie, and it should give you 1 Cookie.
- It is supposed to fill your food bar by 3.0 and your fluid bar by 0.0 on consumption.
Post-Crafting
- Attempt to eat the cookie, whilst paying attention to your food bar.
Recipe: Lemon Tea
Pre-Crafting
- The recipe requires 1 lemon with a temperature of at least 100.
- Crafting the Portable Cooking Station to make the Lemon Tea, and it should give you 1 Lemon Tea.
- It is supposed to fill your food bar by 0.1 and your fluid bar by 2.0 on consumption.
Post-Crafting
- Attempt to drink the lemon tea, whilst paying attention to both your food and fluid bar.
Recipe: Omelette
Pre-Crafting
- The recipe requires 2 eggs,1 onion,1 tomato,1 salt, with a temperature of at least 200.
- Crafting the Portable Cooking Station to make the Omelette, and it should give you 1 Omelette.
- It is supposed to fill your food bar by 5.0 and your fluid bar by 0.0 on consumption.
Post-Crafting
- Attempt to eat the omelette, whilst paying attention to your food bar.
Recipe: Peach Pie
Pre-Crafting
- The recipe requires 1 flour,1 sugar,5 peachs, with a temperature of at least 200.
- Crafting the Portable Cooking Station to make the Peach Pie, and it should give you 1 Peach Pie.
- It is supposed to fill your food bar by 5.0 and your fluid bar by 1.0 on consumption.
Post-Crafting
- Attempt to eat the peach pie, whilst paying attention to both your food and fluid bar.
Recipe: Pecan Pie
Pre-Crafting
- The recipe requires 1 flour,1 sugar,5 pecans, with a temperature of at least 200.
- Crafting the Portable Cooking Station to make the Pecan Pie, and it should give you 1 Pecan Pie.
- It is supposed to fill your food bar by 0.0 and your fluid bar by 0.0 on consumption.
Post-Crafting
- Attempt to eat the pecan pie, whilst paying attention to your food bar.
Recipe: Pineapple Pie
Pre-Crafting
- The recipe requires 1 flour,1 sugar,5 pineapples, with a temperature of at least 200.
- Crafting the Portable Cooking Station to make the Pineapple Pie, and it should give you 1 Pineapple Pie.
- It is supposed to fill your food bar by 5.0 and your fluid bar by 2.0 on consumption.
Post-Crafting
- Attempt to eat the pineapple pie, whilst paying attention to both your food and fluid bar.
Recipe: Pumpkin Pie
Pre-Crafting
- The recipe requires 1 flour,1 sugar,1 Pumpkin, with a temperature of at least 200.
- Crafting the Portable Cooking Station to make the Pumpkin Pie, and it should give you 1 Pumpkin Pie.
- It is supposed to fill your food bar by 7.0 and your fluid bar by 0.5 on consumption.
Post-Crafting
- Attempt to eat the pumpkin pie, whilst paying attention to both your food and fluid bar.
Recipe: Raisin Bread
Pre-Crafting
- The recipe requires 1 flour, 1 salt, 5 raisin with a temperature of at least 200.
- Crafting the Portable Cooking Station to make the Raisin Bread, and it should give you 1 Raisin Bread.
- It is supposed to fill your food bar by 5.0 and your fluid bar by 1.0 on consumption.
Post-Crafting
- Attempt to eat the raisin bread, whilst paying attention to both your food and fluid bar.
Recipe: Ramen
Pre-Crafting
- The recipe requires 4 flour,1 salt,1 butter, with a temperature of at least 100.
- Crafting the Portable Cooking Station to make the Ramen, and it should give you 1 Ramen.
- It is supposed to fill your food bar by 4.0 and your fluid bar by 1.0 on consumption.
Post-Crafting
- Attempt to eat the ramen, whilst paying attention to both your food and fluid bar.
Recipe: Roast Potatoes
Pre-Crafting
- The recipe requires 1 butter,3 potatos, with a temperature of at least 180.
- Crafting the Portable Cooking Station to make the Roast Potatoes, and it should give you 1 Roast Potatoes.
- It is supposed to fill your food bar by 4.0 and your fluid bar by 0.0 on consumption.
Post-Crafting
- Attempt to eat the roast potatoes, whilst paying attention to your food bar.
Recipe: Sautéed Apples
Pre-Crafting
- The recipe requires 1 flour,1 brown sugar,5 apples, with a temperature of at least 200.
- Crafting the Portable Cooking Station to make the Sautéed Apples, and it should give you 1 Sautéed Apples.
- It is supposed to fill your food bar by 3.0 and your fluid bar by 1.0 on consumption.
Post-Crafting
- Attempt to eat the sautéed apple, whilst paying attention to both your food and fluid bar.
Food Item: Chocolate Cupcake
Pre-Crafting
- It is supposed to fill your food bar by 3.0 and your fluid bar by 0.0 on consumption.
Post-Crafting
- Attempt to eat the chocolate cupcake, whilst paying attention to your food bar.
Food Item: Cream Cupcake
Pre-Crafting
- It is supposed to fill your food bar by 3.0 and your fluid bar by 0.0 on consumption.
Post-Crafting
- Attempt to eat the cream cupcake, whilst paying attention to your food bar.
Food Item: Apple
Pre-Crafting
- It is supposed to fill your food bar by 1.5 and your fluid bar by 1.0 on consumption.
Post-Crafting
- Attempt to eat the apple, whilst paying attention to both your food and fluid bar.
Food Item: Avocado
Pre-Crafting
- It is supposed to fill your food bar by 2.0 and your fluid bar by -0.5 on consumption.
Post-Crafting
- Attempt to eat the avocado, whilst paying attention to both your food and fluid bar.
Food Item: Banana
Pre-Crafting
- It is supposed to fill your food bar by 2.1 and your fluid bar by 1.0 on consumption.
Post-Crafting
- Attempt to eat the banana, whilst paying attention to both your food and fluid bar.
Food Item: Butter
Pre-Crafting
- It is supposed to fill your food bar by 0.2 and your fluid bar by 0.2 on consumption.
Post-Crafting
- Attempt to eat the butter, whilst paying attention to both your food and fluid bar.
Food Item: Chocolate
Pre-Crafting
- It is supposed to fill your food bar by 1.0 and your fluid bar by 0.0 on consumption.
Post-Crafting
- Attempt to eat the chocolate, whilst paying attention to your food bar.
Food Item: Egg
Pre-Crafting
- It is supposed to fill your food bar by 1.0 and your fluid bar by 0.0 on consumption.
Post-Crafting
- Attempt to eat the egg, whilst paying attention to your food bar.
Food Item: Grape
Pre-Crafting
- It is supposed to fill your food bar by 0.7 and your fluid bar by 0.5 on consumption.
Post-Crafting
- Attempt to eat the grape, whilst paying attention to both your food and fluid bar.
Food Item: Jam
Pre-Crafting
- It is supposed to fill your food bar by 0.5 and your fluid bar by 0.5 on consumption.
Post-Crafting
- Attempt to eat the jam, whilst paying attention to both your food and fluid bar.
Food Item: Kiwi
Pre-Crafting
- It is supposed to fill your food bar by 0.5 and your fluid bar by 2.0 on consumption.
Post-Crafting
- Attempt to eat the kiwi, whilst paying attention to both your food and fluid bar.
Food Item: Lemon
Pre-Crafting
- It is supposed to fill your food bar by 0.7 and your fluid bar by 0.5 on consumption.
Post-Crafting
- Attempt to eat the lemon, whilst paying attention to both your food and fluid bar.
Food Item: Lime
Pre-Crafting
- It is supposed to fill your food bar by 0.7 and your fluid bar by 0.5 on consumption.
Post-Crafting
- Attempt to eat the lime, whilst paying attention to both your food and fluid bar.
Food Item: Mango
Pre-Crafting
- It is supposed to fill your food bar by 2.0 and your fluid bar by 1.0 on consumption.
Post-Crafting
- Attempt to eat the mango, whilst paying attention to both your food and fluid bar.
Food Item: Orange
Pre-Crafting
- It is supposed to fill your food bar by 1.0 and your fluid bar by 2.0 on consumption.
Post-Crafting
- Attempt to eat the orange, whilst paying attention to both your food and fluid bar.
Food Item: Peach
Pre-Crafting
- It is supposed to fill your food bar by 1.2 and your fluid bar by 1.5 on consumption.
Post-Crafting
- Attempt to eat the peach, whilst paying attention to both your food and fluid bar.
Food Item: Pear
Pre-Crafting
- It is supposed to fill your food bar by 1.0 and your fluid bar by 1.1 on consumption.
Post-Crafting
- Attempt to eat the pear, whilst paying attention to both your food and fluid bar.
Food Item: Pineapple
Pre-Crafting
- It is supposed to fill your food bar by 1.0 and your fluid bar by 1.2 on consumption.
Post-Crafting
- Attempt to eat the pineapple, whilst paying attention to both your food and fluid bar.
Food Item: Pomegranate
Pre-Crafting
- It is supposed to fill your food bar by 3.0 and your fluid bar by 2.0 on consumption.
Post-Crafting
- Attempt to eat the pomegranate, whilst paying attention to both your food and fluid bar.
Food Item: Pumpkin
Pre-Crafting
- It is supposed to fill your food bar by 2.5 and your fluid bar by 0.5 on consumption.
Post-Crafting
- Attempt to eat the pumpkin, whilst paying attention to both your food and fluid bar.
Food Item: Raisin
Pre-Crafting
- It is supposed to fill your food bar by 0.5 and your fluid bar by 0.0 on consumption.
Post-Crafting
- Attempt to eat the raisin, whilst paying attention to your food bar.
Food Item: Salt
Pre-Crafting
- It is supposed to fill your food bar by 0.1 and your fluid bar by -0.2 on consumption.
Post-Crafting
- Attempt to eat the salt, whilst paying attention to both your food and fluid bar.
Food Item: Star Fruit
Pre-Crafting
- It is supposed to fill your food bar by 3.0 and your fluid bar by 2.0 on consumption.
Post-Crafting
- Attempt to eat the Star Fruit, whilst paying attention to both your food and fluid bar.
Food Item: Bean
Pre-Crafting
- It is supposed to fill your food bar by 0.5 and your fluid bar by 0.0 on consumption.
Post-Crafting
- Attempt to eat the bean, whilst paying attention to your food bar.
Food Item: Cabbage
Pre-Crafting
- It is supposed to fill your food bar by 0.7 and your fluid bar by 0.0 on consumption.
Post-Crafting
- Attempt to eat the cabbage, whilst paying attention to your food bar.
Food Item: Carrot
Pre-Crafting
- It is supposed to fill your food bar by 3.0 and your fluid bar by 0.0 on consumption.
Post-Crafting
- Attempt to eat the carrot, whilst paying attention to your food bar.
Food Item: Green Bell Pepper
Pre-Crafting
- It is supposed to fill your food bar by 1.5 and your fluid bar by 1.0 on consumption.
Post-Crafting
- Attempt to eat the green bell pepper, whilst paying attention to both your food and fluid bar.
Food Item: Kale
Pre-Crafting
- It is supposed to fill your food bar by 0.7 and your fluid bar by 0.0 on consumption.
Post-Crafting
- Attempt to eat the kale, whilst paying attention to your food bar.
Food Item: Lettuce
Pre-Crafting
- It is supposed to fill your food bar by 2.0 and your fluid bar by 1.0 on consumption.
Post-Crafting
- Attempt to eat the lettuce, whilst paying attention to both your food and fluid bar.
Food Item: Maize
Pre-Crafting
- It is supposed to fill your food bar by 4.0 and your fluid bar by 1.0 on consumption.
Post-Crafting
- Attempt to eat the maize, whilst paying attention to both your food and fluid bar.
Food Item: Potato
Pre-Crafting
- It is supposed to fill your food bar by 0.6 and your fluid bar by 0.0 on consumption.
Post-Crafting
- Attempt to eat the potato, whilst paying attention to your food bar.
Food Item: Red Bell Pepper
Pre-Crafting
- It is supposed to fill your food bar by 1.5 and your fluid bar by 1.0 on consumption.
Post-Crafting
- Attempt to eat the red bell pepper, whilst paying attention to both your food and fluid bar.
Food Item: Red Mushroom
Pre-Crafting
- It is supposed to fill your food bar by 2.0 and your fluid bar by 0.0 on consumption.
Post-Crafting
- Attempt to eat the red mushroom, whilst paying attention to your food bar.
Food Item: Tomato
Pre-Crafting
- It is supposed to fill your food bar by 2.0 and your fluid bar by 2.0 on consumption.
Post-Crafting
- Attempt to eat the tomato, whilst paying attention to both your food and fluid bar.
Food Item: Yellow Bell Pepper
Pre-Crafting
- It is supposed to fill your food bar by 1.5 and your fluid bar by 1.0 on consumption.
Post-Crafting
- Attempt to eat the yellow bell pepper, whilst paying attention to both your food and fluid bar.