@Target({ANNOTATION_TYPE,METHOD})
@Retention(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
,
Tag
,
BeforeAll
,
AfterAll
,
BeforeEach
,
AfterEach