Categories.ExcludeCategory (JUnit API)
Date: 2018-08-04

org.junit.experimental.categories

## Annotation Type Categories.ExcludeCategory

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

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `boolean` | `matchAny` If `true`, the tests annotated with any of the categories in `value()` do not run.
    `java.lang.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()`.

- - ### Element Detail

    - #### value

          public abstract java.lang.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