Google News
logo
Cucumber - Interview Questions
What are Step Definitions in the context of Cucumber?
Step definitions connect Gherkin steps to programming code. The mapping between each step of the scenario defined in the feature file and a code of the function to be executed is stored in the steps definition file. A step definition carries out the action that should be performed by the step. So step definitions hard-wire the specification to the implementation.
Advertisement