Annotation Interface UseTechnicalNames
@Suitesupport provided by the
junit-platform-suite-enginemodule; to be removed in JUnit Platform 2.0
@UseTechnicalNamesspecifies that technical names should be used instead of display names when running a test suite on the JUnit Platform.
By default, display names will be used for test artifacts in reports and graphical displays in IDEs; however, when a JUnit Platform test suite is executed with a build tool such as Gradle or Maven, the generated test report may need to include the technical names of test artifacts — for example, fully qualified class names — instead of shorter display names like the simple name of a test class or a custom display name containing special characters.
Note that the presence of
@UseTechnicalNames overrides any custom
display name configured for the suite via
JUnit 4 Suite Support
Test suites can be run on the JUnit Platform in a JUnit 4 environment via
- See Also: