Annotation Interface Requirement


@Retention(RUNTIME) public @interface Requirement
A Custom Annotation to inject additional information into a TestNG Test, related to the covered requirement
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    issue key of the requirement (e.g., Story, Epic) to link this test with
  • Element Details

    • key

      String key
      issue key of the requirement (e.g., Story, Epic) to link this test with
      Returns:
      a String containing the requirement's issue key
      Default:
      ""