Run JUnit4-Tests parallel in Eclipse

2019-04-21 11:27发布

问题:

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.