Annotation Interface XrayTest


@Retention(RUNTIME) public @interface XrayTest
A Custom Annotation to inject additional information into a TestNG Test
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Description for the Test issue
    issue key of the Test issue to report the results to
    labels, delimited by space, for the Test issue
    Summary for the Test issue
  • Element Details

    • summary

      String summary
      Summary for the Test issue
      Returns:
      a String containing the Summary's text
      Default:
      ""
    • description

      String description
      Description for the Test issue
      Returns:
      a String containing the Description's text
      Default:
      ""
    • key

      String key
      issue key of the Test issue to report the results to
      Returns:
      a String containing the Summary's text
      Default:
      ""
    • labels

      String labels
      labels, delimited by space, for the Test issue
      Returns:
      a String containing the labels (one or more)
      Default:
      ""