![JAR search and dependency download from the Maven repository](/logo.png)
bdi.junit.ParallelOptions Maven / Gradle / Ivy
package bdi.junit;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import java.util.concurrent.TimeUnit;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* Annotation to provides options for the Parallel execution of tests.
*
* @author @aloyer
* @see bdi.junit.ParallelRunner
*/
@Documented
@Target({METHOD, TYPE})
@Retention(RUNTIME)
public @interface ParallelOptions {
int concurrency() default -1;
long terminationTimeout() default 1;
TimeUnit terminationTimeoutUnit() default TimeUnit.MINUTES;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy