Package net.jqwik.api.lifecycle
Annotation Type BeforeContainer
-
@Target({ANNOTATION_TYPE,METHOD}) @Retention(RUNTIME) @API(status=EXPERIMENTAL, since="1.2.4") public @interface BeforeContainerAnnotate static methods of a container class with@BeforeContainerto have them run exactly once before any of its properties or any lifecycle methods from embedded containers will be run.@BeforeContainermethods must bestatic voidand they cannot have parameters.@BeforeContainermethods are inherited from superclasses and implemented interfaces as long as they are not hidden or overridden.The execution order of multiple
@BeforeContainermethods within the same container is not guaranteed and might change.- See Also:
AfterContainer