
com.googlecode.junittoolbox.ParallelParameterized Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of junit-toolbox Show documentation
Show all versions of junit-toolbox Show documentation
Useful classes for writing automated tests with JUnit
package com.googlecode.junittoolbox;
import org.junit.runners.Parameterized;
/**
* An extension of the JUnit {@link Parameterized}
* runner, which executes the tests for each parameter set
* concurrently.
* You can specify the maximum number of parallel test
* threads using the system property maxParallelTestThreads
.
* If this system property is not specified, the maximum
* number of test threads will be the number of
* {@link Runtime#availableProcessors() available processors}.
*/
public class ParallelParameterized extends Parameterized {
public ParallelParameterized(Class> klass) throws Throwable {
super(klass);
setScheduler(new ParallelScheduler());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy