org.junit.experimental.categories
Annotation Type Categories.ExcludeCategory


@Retention(value=RUNTIME)
public static @interface Categories.ExcludeCategory


Optional Element Summary
 boolean matchAny
          If true, the tests annotated with any of the categories in value() do not run.
 Class<?>[] value
          Determines the tests which do not run if they are annotated with categories specified in the value of this annotation or their subtypes regardless of being included in Categories.IncludeCategory.value().
 

value

public abstract Class<?>[] value
Determines the tests which do not run if they are annotated with categories specified in the value of this annotation or their subtypes regardless of being included in Categories.IncludeCategory.value().

Default:
{}

matchAny

public abstract boolean matchAny
If true, the tests annotated with any of the categories in value() do not run. Otherwise, the tests do not run if and only if annotated with all categories.

Default:
true


Copyright © 2002–2020 JUnit. All rights reserved.