Annotation Type TestCaseId


  • @Retention(RUNTIME)
    @Target({TYPE,METHOD})
    public @interface TestCaseId
    Annotation used to declare the uniqueness of the test method/class. If value is not provided it will be generated on the ReportPortal back-end side as hash of the generated id.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      TemplateConfig config
      TestCaseId template configuration to customize keywords and special symbols.
      boolean parametrized  
      java.lang.String value  
    • Element Detail

      • value

        java.lang.String value
        Returns:
        provided value or empty String by default. Default value is provided to avoid unnecessary value setting in parameterized tests
        Default:
        ""
      • parametrized

        boolean parametrized
        Returns:
        flag to define whether test is parameterized or not
        Default:
        false
      • config

        TemplateConfig config
        TestCaseId template configuration to customize keywords and special symbols.
        Returns:
        template configuration
        Default:
        @com.epam.reportportal.annotations.TemplateConfig