Annotation Interface HelidonTest
There is no need to provide
beans.xml (actually it is not recommended, as it would combine beans
from all tests), instead use
annotations to control the shape of the container.
To disable automated bean and extension discovery, annotate the class with
Optional Element SummaryModifier and TypeOptional ElementDescription
booleanBy default, CDI container is created once before the class is initialized and shut down after.
resetPerTestboolean resetPerTestBy default, CDI container is created once before the class is initialized and shut down after. All test methods run within the same container. If this is set to
true, a container is created per test method invocation. This restricts the test in the following way: 1. No injection into fields 2. No injection into constructor
- whether to reset container per test method