Annotation Type SuiteDisplayName

  • @Retention(RUNTIME)
    public @interface SuiteDisplayName
    @SuiteDisplayName is 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).

    See Also:
    UseTechnicalNames, JUnitPlatform
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value
      Custom display name for the annotated class.
    • Element Detail

      • value

        java.lang.String value
        Custom display name for the annotated class.
        a custom display name; never blank or consisting solely of whitespace