hello, I'm fairly new to Kotlin and I'm working on a Kotlin project that uses Gradle. When running a simple Kotlin Unit test, Intellij Idea runs the gradle
test
task rather then executing the test directly (like in a Java project). Is there a way to run the test directly in Intellij?
one more question: if I run the same test twice - now using the settings you suggested, intellij seems to rebuild the current project every time, which takes some time. Any way to speed this up?
r
Rajkumar Singh
03/02/2021, 11:24 PM
Ctrl-F5 (rerun) instead of run, from inside the run tool window. it should not build if there were no changes made since the last run.