
com.googlecode.junittoolbox.ExcludeCategories 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.experimental.categories.Category;
import org.junit.experimental.categories.Categories.ExcludeCategory;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/**
* This annotation can be used with the {@link WildcardPatternSuite}
* and the {@link ParallelSuite} runner to exclude tests if they are
* annotated with {@link Category @Category}. In contrast to the standard
* JUnit {@link ExcludeCategory @ExcludeCategory} annotation
* this annotation allows you to specify not only one but several classes.
*/
@Retention(RetentionPolicy.RUNTIME)
public @interface ExcludeCategories {
public Class>[] value();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy