Package org.junit.jupiter.api
Annotation Type DisplayName
-
@Target({TYPE,METHOD}) @Retention(RUNTIME) @Documented @API(status=STABLE, since="5.0") public @interface DisplayName@DisplayNameis used to declare a custom display name for the annotated test class or test method.Display names are typically used for test reporting in IDEs and build tools and may contain spaces, special characters, and even emoji.
- Since:
- 5.0
- See Also:
Test,Tag,TestInfo,DisplayNameGeneration,DisplayNameGenerator
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.StringvalueCustom display name for the annotated class or method.
-