Interface FabricGameTest
public interface FabricGameTest
This interface can be optionally implemented on your test class.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
invokeTestMethod
(TestContext context, Method method) Override this method to implement custom logic to invoke the test method.
-
Field Details
-
EMPTY_STRUCTURE
Use inGameTest
structureName to use an empty 8x8 structure for the test.- See Also:
-
-
Method Details
-
invokeTestMethod
Override this method to implement custom logic to invoke the test method. This can be used to run code before or after each test. You can also pass in custom objects into the test method if desired. The structure will have been placed in the world before this method is invoked.- Parameters:
context
- The vanilla test contextmethod
- The test method to invoke
-