Package org.junit.jupiter.api
Annotation Type DisplayNameGenerator.IndicativeSentences.SentenceFragment
-
@Target({TYPE,METHOD}) @Retention(RUNTIME) @API(status=MAINTAINED, since="5.13.3") public static @interface DisplayNameGenerator.IndicativeSentences.SentenceFragment@SentenceFragmentis used to configure a custom sentence fragment for a sentence generated by theIndicativeSentencesDisplayNameGenerator.Note that
@DisplayNamealways takes precedence over@SentenceFragment.- Since:
- 5.13
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.StringvalueCustom sentence fragment for the annotated class or method.
-