@Target(value={ANNOTATION_TYPE,METHOD}) @Retention(value=RUNTIME) @Documented @API(status=STABLE, since="5.0") @Testable public @interface Test
@Test
is used to signal that the annotated method is a
test method.
@Test
methods must not be private
or static
and must not return a value.
@Test
methods may optionally declare parameters to be
resolved by ParameterResolvers
.
@Test
may also be used as a meta-annotation in order to
create a custom composed annotation that inherits the semantics
of @Test
.
TestInfo
,
DisplayName
,
BeforeEach
,
AfterEach
,
BeforeAll
,
AfterAll