Skip to content

Instantly share code, notes, and snippets.

@sureshnath
Created June 29, 2018 15:48
Show Gist options
  • Save sureshnath/b1ce7c8b293e5c54291a54581395134f to your computer and use it in GitHub Desktop.
Save sureshnath/b1ce7c8b293e5c54291a54581395134f to your computer and use it in GitHub Desktop.
cucumber step tips
public void step_method(String arg1, DataTable arg2) throws Throwable {
// Write code here that turns the phrase above into concrete actions
// For automatic transformation, change DataTable to one of
// List<YourType>, List<List<E>>, List<Map<K,V>> or Map<K,V>.
// E,K,V must be a scalar (String, Integer, Date, enum etc)
}
pass other steps as parameter to constructor of step class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment