Run JUnit4-Tests parallel in Eclipse

杀马特。学长 韩版系。学妹 提交于 2019-12-22 03:50:33

问题


maven-surefire-plugin enables running JUnit tests in parallel[1] - is there way to run JUnit-Tests in Eclipse in parallel, too?

[1] e.g.

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-surefire-plugin</artifactId>
    <version>2.12</version>
    <configuration>
        <parallel>methods</parallel>
    </configuration>
</plugin>

"Running tests in parallel" https://maven.apache.org/plugins/maven-surefire-plugin/examples/junit.html


回答1:


You can use tempus-fugit to run tests in parallel in Eclipse. This should work.



来源:https://stackoverflow.com/questions/13063552/run-junit4-tests-parallel-in-eclipse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!