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

后端 未结 4 1119
轮回少年
轮回少年 2021-01-18 10:57

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

4条回答
  •  遥遥无期
    2021-01-18 11:39

    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.

提交回复
热议问题