Skip to content

densmnko/junit4-parallel-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

junit4-parallel-runner

JUnit4 runner to run tests in parallel threads or even processes

The goal is to run legacy JUnit4 tests in parallel with 'IDEA Project', Teamcity 'IntelliJ IDEA Project' build with minimum efforts.

Sample usage:

@RunWith(ParallelSuiteRunner.class)
@ParallelSuiteRunner.Suites({
        @Suite.SuiteClasses({org.densmnko.Foo.class, org.densmnko.Bar.class, org.densmnko.Foo.class})
        , @Suite.SuiteClasses({org.densmnko.Foo.class, org.densmnko.Bar.class, org.densmnko.Bar.class})
})
public class org.densmnko.FooBar{
        }

Each @Suite.SuiteClasses will run in parallel, in separate thread and class loader.

BTW, Yes, I know about JUnit5 and maven surefire plugin ))

About

JUnit4 runner to run tests in parallel threads or even processes

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages