Package io.cucumber.java.ru
Annotation Type То
-
@Retention(RUNTIME) @Target(METHOD) @Documented @Repeatable(Тоs.class) @API(status=STABLE) public @interface То
To execute steps in a feature file the steps must be connected to executable code. This can be done by annotating a method with a cucumber or regular expression.The parameters extracted from the step by the expression along with the data table or doc string argument are provided as arguments to the method.
The types of the parameters are determined by the cucumber or regular expression.
The type of the data table or doc string argument is determined by the argument name value. When none is provided cucumber will attempt to transform the data table or doc string to the type of the last argument.
-
-
Element Detail
-
value
String value
A cucumber or regular expression.- Returns:
- a cucumber or regular expression
-
-