How are the tests run/executed?
batchu opened this issue · 2 comments
testCompile('org.springframework.boot:spring-boot-starter-test') is included in the Gradle build file which pulls in the necessary dependencies so a gradlew clean test --info
does list the test cases. However the IDE (Intellij) in this case still doesn't work as expected.
I'm not an expert on IntelliJ/Gradle integration but I've handled it this way in the past:
I included the idea
plugin in my build.gradle
. This allows me to set up my idea project from the command line using ./gradlew idea
. Then I could import the idea project into IntelliJ and I was good to go.
There might be a more up to date mechanism by now (I trust the lovely JetBrains folks to have improved their gradle integration massively) but the procedure above always worked well for me.