Module org.junit.platform.suite.api
Package org.junit.platform.suite.api
Annotation Interface UseTechnicalNames
@Retention(RUNTIME)
@Target(TYPE)
@Inherited
@Documented
@API(status=DEPRECATED,
since="1.8")
@Deprecated
public @interface UseTechnicalNames
Deprecated.
@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.
Note that the presence of @UseTechnicalNames
overrides any custom
display name configured for the suite via @SuiteDisplayName
.
JUnit 4 Suite Support
Test suites can be run on the JUnit Platform in a JUnit 4 environment via
@RunWith(JUnitPlatform.class)
.
- Since:
- 1.0
- See Also:
@Suite
support provided by thejunit-platform-suite-engine
module; to be removed in JUnit Platform 2.0