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

    Nested Classes
    Modifier and Type
    Class
    Description
    static @interface 
    Allows the use of multiple 'E's on a single method.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    A cucumber or regular expression.
  • Element Details

    • value

      String value
      A cucumber or regular expression.
      Returns:
      a cucumber or regular expression