When I \"junit\" some class, compilation in Idea takes about 4-5 sec. In Eclipse it takes milliseconds.
What should I do to speed up Intellij Idea compilation for te
There is plugin in Idea plugin repository which solve exactly this problem!
Eclipse compiles on the fly (on save), so it does not have to do anything but to start the tests. Idea does not. Before starting the tests it has to make (compile all changed classes of the whole project). It is also not possible to start a test in idea when there is any compile error elsewhere in the project.
I encountered such a problem using Gradle. Make sure that the tests run under Idea. Settings -> Build, Execution, Deployment -> Build Tools -> Gradle -> Run tests using -> IntelliJ IDEA
I don't have IntelliJ in front of me but could it be that IntelliJ is set to do a clean compile before it runs the tests where Eclipse is set to do a make (I.e only compile changed classes)
Just a thought