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

org.junit.experimental.categories

## Annotation Type Categories.IncludeCategory

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

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `boolean` | `matchAny` If `true`, runs tests annotated with any of the categories in `value()`.
    `java.lang.Class<?>[]` | `value` Determines the tests to run that are annotated with categories specified in the value of this annotation or their subtypes unless excluded with `Categories.ExcludeCategory`.

- - ### Element Detail

    - #### value

          public abstract java.lang.Class<?>[] value

      Determines the tests to run that are annotated with categories specified in the value of this annotation or their subtypes unless excluded with `Categories.ExcludeCategory`.
      Default:
        {}

    - #### matchAny

          public abstract boolean matchAny

      If `true`, runs tests annotated with any of the categories in `value()`. Otherwise, runs tests only if annotated with all of the categories.
      Default:
        true