Module io.qameta.allure.testng
Package io.qameta.allure.testng
Annotation Interface TestInstanceParameter
You can use this annotation to add test instance parameters to your TestNG tests.
Fields declared by the test class and its superclasses are supported.
If multiple fields resolve to the same parameter name, the field declared by
the most-derived class takes precedence.
- See Also:
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String valueThe name of parameter. If empty, the field name will be used.- Returns:
- the name of parameter.
- Default:
""
-
mode
io.qameta.allure.model.Parameter.Mode modeThe parameter mode. It controls how the value is displayed and does not exclude the parameter from history ID generation.- Returns:
- the parameter mode.
- Default:
DEFAULT
-
excluded
boolean excludedSet it to true to exclude the parameter from history ID generation.- Returns:
- true if parameter is excluded, false otherwise.
- Default:
false
-