@Retention(value=RUNTIME) @Target(value={METHOD,TYPE,FIELD,PACKAGE}) public @interface Name
With this annotation we can assign visible name to a class (step library or test data class) or a method (test step) or an enum constant (test data enum value) or a package (test data group). If the annotation presents on a class or method, then ibello will log the name specified by the annotation when the class/method name is going to be logged.
If the annotation is added to a method, the value may contain parameter substitution markers. A parameter substitution marker
is a 0-based index surrounded by ${ and }. These markers will
be replaced by string version of method parameters. For example, if the annotation's value
is "${0}-${1}", then the method will replace ${0} with the first
method parameter, and ${1} with the second parameter. If method parameters are
"a" and 1, then the result will be "a-1".
Test data classes can be named with this annotation. The name will be displayed by the ibello UI only. Packages containing test data classes may have this annotation too - in this case they define a group for the test data classes.
Enum constants used by test data classes also can be named. The name will be displayed by te ibello UI only.
Descriptionpublic abstract String value
Created by Kornél Simon, 2022