Annotation Type FailureExpected


  • @Retention(RUNTIME)
    @Target({METHOD,TYPE})
    public @interface FailureExpected
    Annotation used to mark a test as an expected failure.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String jiraKey
      The key of a JIRA issue which covers this expected failure.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String message
      A message explaining the reason for the expected failure.
    • Field Detail

      • VALIDATE_FAILURE_EXPECTED

        static final java.lang.String VALIDATE_FAILURE_EXPECTED
    • Element Detail

      • jiraKey

        java.lang.String jiraKey
        The key of a JIRA issue which covers this expected failure.
        Returns:
        The jira issue key
      • message

        java.lang.String message
        A message explaining the reason for the expected failure. Optional.
        Returns:
        The reason
        Default:
        ""