Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij idea tests compilation takes too long (compared with Eclipse)

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 tests?

like image 998
dmitrynikolaev Avatar asked Jul 17 '09 07:07

dmitrynikolaev


2 Answers

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.

like image 53
Arne Burmeister Avatar answered Sep 19 '22 03:09

Arne Burmeister


There is plugin in Idea plugin repository which solve exactly this problem!

like image 29
Abhishek Umrao Avatar answered Sep 21 '22 03:09

Abhishek Umrao