Annotation Type Dada


  • @Retention(RUNTIME)
    @Target(METHOD)
    @Documented
    @Repeatable(Dadas.class)
    @API(status=STABLE)
    public @interface Dada
    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.

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String value
      A cucumber or regular expression.
    • Element Detail

      • value

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