Step Definitions
Step definition is the glue between the script file written in Gherkin language and the actual system being tested. Use Given
, When
, Then
.
The matched result of the matching group in the regular expression will be passed to the step definition as a parameter.
Chinese version click here.