Annotation Interface Categories.IncludeCategory

Enclosing class:
Categories

@Retention(RUNTIME) public static @interface Categories.IncludeCategory
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    If true, runs tests annotated with any of the categories in value().
    Class<?>[]
    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 Details

    • value

      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

      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