Top Description Methods
org.junit.platform.suite.api

public @Interface SuiteDisplayName

extends Annotation
Annotations
@Retention:RUNTIME
@Target:TYPE
@Documented
@API
status:MAINTAINED
since:1.1
Static Imports
java.lang.annotation.ElementType.TYPE, .RetentionPolicy.RUNTIME, org.apiguardian.api.API.Status.MAINTAINED

@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.

Execution

Test suites can be run on the JUnit Platform the junit-platform-suite-engine module.

Since
1.1
See Also
Suite

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

a custom display name; never blank or consisting solely of whitespace
value
()

Custom display name for the annotated class.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public String value()

Custom display name for the annotated class.

Returns:String

a custom display name; never blank or consisting solely of whitespace