Annotation Interface Categories.ExcludeCategory

Enclosing class:
Categories

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

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

    • value

      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

      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