Annotation Interface XrayTest


@Retention(RUNTIME) @Target(METHOD) public @interface XrayTest
Annotation that can be used for tests to configure documentation of test results in Xray.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Internal Xray test ID that can be used for uploading test execution results.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Flag that indicates whether an HTML report should be added as evidence to this test.
    boolean
    Flag that indicates whether screenshots should be added as evidence to this test.
  • Element Details

    • key

      String key
      Internal Xray test ID that can be used for uploading test execution results.
      Returns:
      ID
    • scenarioReport

      boolean scenarioReport
      Flag that indicates whether an HTML report should be added as evidence to this test.
      Returns:
      whether HTML reports should be added
      Default:
      true
    • screenshots

      boolean screenshots
      Flag that indicates whether screenshots should be added as evidence to this test.
      Returns:
      whether screenshots should be added
      Default:
      true