Package org.junit.platform.suite.api
Annotation Type SuiteDisplayName
-
@Retention(RUNTIME) @Target(TYPE) @Documented @API(status=MAINTAINED, since="1.1") public @interface SuiteDisplayName@SuiteDisplayNameis used to declare a custom display name for the annotated test class that is executed as a test suite on the JUnit Platform.Display names are typically used for test reporting in IDEs and build tools and may contain spaces, special characters, and even emoji.
JUnit 4 Suite Support
Test suites can be run on the JUnit Platform in a JUnit 4 environment via
@RunWith(JUnitPlatform.class).JUnit 5 Suite Support
Test suites can be run on the JUnit Platform in a JUnit 5 environment via the
junit-platform-suite-enginemodule.- Since:
- 1.1
- See Also:
Suite,JUnitPlatform
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.StringvalueCustom display name for the annotated class.
-