Annotation Interface ForEachTest
Apply this annotation to a class in order to add a common configuration to all child tests. 
This is primarily useful for method-based tests.
Note: the common configuration goes only one level deep.
This is primarily useful for method-based tests.
Note: the common configuration goes only one level deep.
- 
Optional Element SummaryOptional ElementsModifier and TypeOptional ElementDescriptionString[]Returns the groups in which child tests will be, by default.Returns a prefix to apply to the child tests.Class<? extends TestListener>[]Returns the listeners to add to all child tests.net.neoforged.api.distmarker.Dist[]Returns the sides the child tests are loaded on.
- 
Field SummaryFields
- 
Field Details- 
DEFAULT
 
- 
- 
Element Details- 
idPrefixString idPrefixReturns a prefix to apply to the child tests.- Returns:
- a prefix to apply to the child tests
 - Default:
- ""
 
- 
groupsString[] groupsReturns the groups in which child tests will be, by default.- Returns:
- the groups in which child tests will be, by default
 - Default:
- {}
 
- 
listenersClass<? extends TestListener>[] listenersReturns the listeners to add to all child tests.- Returns:
- the listeners to add to all child tests
 - Default:
- {}
 
- 
sidenet.neoforged.api.distmarker.Dist[] sideReturns the sides the child tests are loaded on.- Returns:
- the sides the child tests are loaded on
 - Default:
- {}
 
 
-