Annotation Interface TestGroup


@Target(FIELD) @Retention(RUNTIME) public @interface TestGroup
Annotate a String field with the value being the ID of a group with this annotation in order to configure the group.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Returns the human-readable name of the group.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Returns if the tests in this group are enabled by default.
    Returns the parents of this group.
  • Element Details

    • name

      String name
      Returns the human-readable name of the group.
      Returns:
      the human-readable name of the group
    • enabledByDefault

      boolean enabledByDefault
      Returns if the tests in this group are enabled by default.
      Returns:
      if the tests in this group are enabled by default
      Default:
      false
    • parents

      String[] parents
      Returns the parents of this group.
      Note: group parents are also computed using id().split(".").
      Returns:
      the parents of this group
      Default:
      {}