Skip to content

[Migrate][Test] Block explicit import of jUnit 4 library #12395

@EricGao888

Description

@EricGao888

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

  • As we have migrated all unit tests from jUnit 4 -> jUnit5 and removed related jUnit 4 library imports, we need to add a Spotless step to check and block such imports like org.junit.xxx in the future. Contributors are supposed to import org.junit.jupiter.xxx instead.
  • This issue is part of [Migration][Test] jUnit4 -> jUnit5 UT cases migration #12301.

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions