Annotation Interface CustomAttribute


@Retention(RUNTIME) @Target({METHOD,TYPE}) public @interface CustomAttribute
Represents a means to add in custom attributes to @Test annotated tests.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • name

      String name
      Returns:
      - The name for the custom attribute
    • values

      String[] values
      Returns:
      - The custom attribute values as an array.
      Default:
      {}