Annotation Type DisplayName


  • @Retention(RUNTIME)
    @Target({METHOD,TYPE})
    public @interface DisplayName
    If put on a method or constructor, or class, overrides corresponding Test Item name on ReportPortal. This annotation should be handled in priority to other mechanisms of existing test frameworks.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value
      Test Item name as a simple String.
    • Element Detail

      • value

        java.lang.String value
        Test Item name as a simple String.
        Returns:
        new name for a Test Item