io.cucumber.java.api.en.Given
instead.@Retention(value=RUNTIME) @Target(value=METHOD) @Documented @Deprecated public @interface Given
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.
Modifier and Type | Required Element and Description |
---|---|
String |
value
Deprecated.
A cucumber or regular expression.
|
Modifier and Type | Optional Element and Description |
---|---|
long |
timeout
Deprecated.
Duration in milliseconds this step is allowed to run.
|
public abstract String value
public abstract long timeout
Copyright © 2019. All rights reserved.