Package io.cucumber.java.it
Annotation Type E
@Retention(RUNTIME)
@Target(METHOD)
@Documented
@Repeatable(Es.class)
@API(status=STABLE)
public @interface E
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.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic @interface
Allows the use of multiple 'E's on a single method. -
Required Element Summary
-
Element Details
-
value
String valueA cucumber or regular expression.- Returns:
- a cucumber or regular expression
-