Package org.junit.jupiter.api
Annotation Type DisplayNameGeneration
-
@Target(TYPE) @Retention(RUNTIME) @Documented @Inherited @API(status=EXPERIMENTAL, since="5.4") public @interface DisplayNameGeneration
@DisplayNameGeneration
is used to declare a custom display name generator for the annotated test class.- Since:
- 5.4
- See Also:
DisplayName
,DisplayNameGenerator
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description Class<? extends DisplayNameGenerator>
value
Custom display name generator.
-
-
-
Element Detail
-
value
Class<? extends DisplayNameGenerator> value
Custom display name generator.- Returns:
- custom display name generator class
-
-