Skip to content

Deprecate @UseTechnicalNames #2720

@mpkorstanje

Description

@mpkorstanje

With the deprecation of the JUnitPlatform runner in favor of @Suite support (8ac3dfb) UseTechnicalNames should also be deprecated.

In brief using @UseTechnicalNames would instruct the JUnitPlatform runner to use class and/or method names in JUnit4 test descriptions using the information contained in the Junit5 TestIndentifiers.

Reasons for deprecation:

  1. I do not see a usecase where other implementations that use the junit-platform-suite-api would benefit from UseTechnicalNames.
  2. UseTechnicalNames is specific to to the Junit Platform runner and should not have been included in the suite-api.
  3. The JUnit Platform Suite Engine provides TestIndentifiers as part of the JUnit Platform. Users of the JUnit Platform can reconstruct the technical names in the same way the JUnitPlatform runner did.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions