JUnit 4 test can be JUnit 5
Reports JUnit 4 tests that can be automatically migrated to JUnit 5. While default runners are automatically convertible, custom runners, method- and field- rules are not and require manual changes.
After the quick-fix is applied:
This inspection requires that the JUnit 5 library is available in the classpath, and JDK 1.8 or later is configured for the project.
IntelliJ IDEA 2023.3, Qodana for JVM 2023.3