All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.pantsbuild.junit.annotations.TestParallel Maven / Gradle / Ivy

Go to download

Annotations for use with org.pantsbuild#junit-runner that support running tests in parallel.

There is a newer version: 0.0.23
Show newest version
// Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).
// Licensed under the Apache License, Version 2.0 (see LICENSE).

package org.pantsbuild.junit.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Annotate that a test class can be run in parallel. See usage note in
 * {@link org.pantsbuild.tools.junit.ConsoleRunner}. The {@link TestSerial} annotation
 * takes precedence over this annotation if a class has both (including via inheritance).
 */
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Target(ElementType.TYPE)
public @interface TestParallel {
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy