Class ExcludeCategories

  • All Implemented Interfaces:
    FilterFactory

    public final class ExcludeCategories
    extends java.lang.Object
    FilterFactory to exclude categories. The Filter that is created will filter out tests that are categorized with any of the given categories. Usage from command line: --filter=org.junit.experimental.categories.ExcludeCategories=pkg.of.Cat1,pkg.of.Cat2 Usage from API: new ExcludeCategories().createFilter(Cat1.class, Cat2.class);