@Retention(value=RUNTIME) @Target(value=TYPE) @Inherited @Documented @API(value=Maintained) public @interface UseTechnicalNames
@UseTechnicalNames
specifies 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.
Test suites can be run on the JUnit Platform in a JUnit 4 environment via
@RunWith(JUnitPlatform.class)
.
JUnitPlatform