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