Intelij 2019.1 update breaks JUnit tests

Intelij somehow changed setting with update.

Settings > Build,Execution,Deployment > Build Tools > Gradle > Runner > "Run tests using:"

Changed from "Gradle Test runner" to "Platform Test runner" and it worked. I hope this is useful in some matter.


If you are using JUnit5 with Gradle, add below code to build.gradle file.

test {
    useJUnitPlatform()
}

I've got a hint from https://www.baeldung.com/junit-5-gradle