[IntelliJ] JUnit4 + Gradle - update broke all tests with error: no tests found for given includes


IntelliJ JUnit4 + Gradle를 이용해서 test code 작성 시 발생한 이슈이다



ISSUE LOG

update broke all tests with error: no tests found for given includes [xxxx.someThingTest](filter.includetestsmatching)


ISSUE 해결

  1. File > Setting (Ctrl+Alt+S)
  2. Build, Execution, Deployment > Build Tools > gradle
  3. Run Tests using: Intellij IDEA


intellij-gradle-junit-issue-s1



만약, JUnit5 일 경우

test {
    useJUnitPlatform()
}