Cucumber framework
Last updated
Last updated
Cucumber reads specifications from plain- language text files called features, examines them for scenarios to test.
Each scenario is a list of steps for Cucumber to work through.
Along with the features, you give Cucumber a set of step definitions, which map the business- readable language of each step into code to carry out whatever action is being described by the step.
The step definition itself will probably just be one or two lines of code, specific to the domain of your application.
Sometimes that may involve using an automation library, like the browser automation library Selenium.