本文介绍了在 IntelliJ IDEA 中并行运行 JUnit 测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一大套测试需要大约半小时才能运行,并且希望能够并行测试类.
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.
有没有办法用 IntelliJ IDEA 9 做到这一点?
Is there a way to do that with IntelliJ IDEA 9?
推荐答案
IDEA 仅从版本 10 开始就可以理解并行 JUnit 测试.
IDEA will understand parallel JUnit tests only since version 10.
有一个跟踪器问题,您可以投票支持并观察进度:http://youtrack.jetbrains.net/issue/IDEA-47103
There is a tracker issue which you can vote for and watch for progress:http://youtrack.jetbrains.net/issue/IDEA-47103
我们计划将其添加到 IDEA 10 中,但优先级取决于投票数.
We plan to add it in IDEA 10, but the priority would depend on the number of votes.
这篇关于在 IntelliJ IDEA 中并行运行 JUnit 测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!