Module io.helidon.testing.junit5
Package io.helidon.testing.junit5
Annotation Interface Testing.Test
- Enclosing class:
Testing
@Target({ANNOTATION_TYPE,TYPE})
@Retention(RUNTIME)
@Inherited
@ExtendWith(TestJunitExtension.class)
public static @interface Testing.Test
A test class annotation that ensures Helidon extension is loaded.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionboolean
If set totrue
, service registry will be reset after each test method, instead after the whole test class.
-
Element Details
-
perMethod
boolean perMethodIf set totrue
, service registry will be reset after each test method, instead after the whole test class.- Returns:
- whether to reset registry after each test method
- Default:
false
-