小编Der*_*ick的帖子

Why does JUnit take so long to launch from Eclipse?

When I run a JUnit test case in Eclipse, it takes 20 seconds just to launch JUnit itself.

In the Progress view it is at 87% for most of this time, stating: Launching: Starting virtual machine...

I have tried increasing the memory allocation to the vm in both eclipse.ini, and also in the Run Configuration for the unit tests (VM arguments: -Xms512m -Xmx1024m), but neither makes a difference.

I'm watching Windows Task Manager when I launch the unit test and …

java eclipse junit unit-testing

7
推荐指数
1
解决办法
771
查看次数

标签 统计

eclipse ×1

java ×1

junit ×1

unit-testing ×1