IDEA中并行运行JUnit测试

IDEA中并行运行JUnit测试

本文介绍了在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.

有一个跟踪器问题,您可以投票并观察进度:

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测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-03 19:46