Annotation Type Description


  • @Retention(RUNTIME)
    @Target({METHOD,TYPE})
    @Documented
    public @interface Description
    This annotation can be used to provide a description for a test class.

    Deprecated usage

    The @Description annotation can also be used to change the representation of a step method or test method. This value is then used in the generated report instead of using the method name. Note that this usage of this annotation is deprecated and you should use the As annotation instead.
    See Also:
    As
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value
      The description of the test class.
    • Element Detail

      • value

        java.lang.String value
        The description of the test class.