Running JUnit Tests in Parallel in IntelliJ IDEA

2019-01-25 11:06发布

I have a large suite of tests that takes about half an hour to run and would love to be able to the test classes in parallel.

Is there a way to do that with IntelliJ IDEA 9?

2条回答
相关推荐>>
2楼-- · 2019-01-25 11:52

Answering late for posterity.

You can make JUnit tests run in parallel in IntelliJ by changing the Fork mode in the test's run configuration.

查看更多
混吃等死
3楼-- · 2019-01-25 11:56

IDEA will understand parallel JUnit tests only since version 10.

There is a tracker issue which you can vote for and watch for progress: http://youtrack.jetbrains.net/issue/IDEA-47103

We plan to add it in IDEA 10, but the priority would depend on the number of votes.

查看更多
登录 后发表回答