Running junit tests in parallel ?

Posted by krosenvold on Stack Overflow See other posts from Stack Overflow or by krosenvold
Published on 2009-01-08T08:53:37Z Indexed on 2010/06/03 9:54 UTC
Read the original article Hit count: 261

Filed under:
|
|

I'm using junit 4.4 and maven and I have a large number of long-running integration tests.

When it comes to parallellizing test suites there are a few solutions that allow me to run each test method in a single test-class in parallel. But all of these require that I change the tests in one way or another.

I really think it would be a much cleaner solution to run X different test classes in X threads in parallel. I have hundreds of tests so I don't really care about threading individual test-classes.

Is there any way to do this ?

© Stack Overflow or respective owner

Related posts about java

Related posts about maven-2