Annotation Type Test

    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.

    See Also:
    TestInfo, DisplayName, Tag, BeforeAll, AfterAll, BeforeEach, AfterEach