Annotation Interface GameTest
Marks a static test method with signature
void testName(GameTestHelper helper). A method
annotated with MethodSource may declare supplied parameters after GameTestHelper.-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionBatch name; tests sharing a batch run together withBeforeBatch/AfterBatch.booleanIf false, failure of this test does not fail the overall run (e.g.intStructure rotation: 0 = none, 1 = 90° clockwise, 2 = 180°, 3 = 270° clockwise (Y axis), matching Minecraft structure placement conventions.Structure template name (resolved relative to holder namespace / prefix).intNumber of full server ticks the test may observe before timing out after the final END phase.
-
Element Details
-
template
String templateStructure template name (resolved relative to holder namespace / prefix).- Default:
- ""
-
timeoutTicks
int timeoutTicksNumber of full server ticks the test may observe before timing out after the final END phase.- Default:
- 100
-
batch
String batchBatch name; tests sharing a batch run together withBeforeBatch/AfterBatch.- Default:
- ""
-
required
boolean requiredIf false, failure of this test does not fail the overall run (e.g. optional coverage).- Default:
- true
-
rotation
int rotationStructure rotation: 0 = none, 1 = 90° clockwise, 2 = 180°, 3 = 270° clockwise (Y axis), matching Minecraft structure placement conventions.- Default:
- 0
-