Annotation Type FixFor


@Documented @Retention(CLASS) @Target(METHOD) public @interface FixFor
Annotation that can be used to help track that a test is verifying the fix for one or more specific issues. To use, simply place this annotation on the test method and reference the JIRA issue number:
    @FixFor("DBZ-123")
    @Test
    public void shouldVerifyBehavior() {
     ...
    }
 

It is also possible to reference multiple JIRA issues if the test is verifying multiple ones:

    @FixFor({"DBZ-123","DBZ-456"})
    @Test
    public void shouldVerifyBehavior() {
     ...
    }
 

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The JIRA issue for which this is a fix.
  • Element Details

    • value

      String[] value
      The JIRA issue for which this is a fix. For example, "DBZ-123".
      Returns:
      the issue