JUnit 5 IntelliJ Setup
1. Confirm the Project Shape
- Confirm the repo imports cleanly as Maven or Gradle.
- Confirm the JDK version expected by the build.
- Confirm JUnit 5 dependencies exist in the test scope.
2. Configure the IDE
- Import the project from the build file instead of creating a detached IDE project.
- Set the project SDK and language level to match the build.
- Confirm IntelliJ uses the build tool or JUnit 5 runner path expected by the repo.
3. Validate
- Run one focused test class.
- Debug one test method.
- Confirm tags and environment-sensitive tests behave as expected.