Cucumbers Notes
Cucumbers Notes
Basics of Cucumber
What is Cucumber?
What is Behavior-Driven Development (BDD)?
How does Cucumber support BDD?
What is a feature file in Cucumber?
Explain the structure of a feature file.
What is Gherkin?
What are the keywords used in Gherkin?
How do you define a scenario in Cucumber?
What is the purpose of the Background keyword in Cucumber?
Explain the use of the Scenario Outline keyword.
What are step definitions in Cucumber?
How do you link a feature file to a step definition file?
How do you parameterize steps in Cucumber?
What is the purpose of the Examples keyword in Cucumber?
What is a Cucumber tag and how is it used?
How do you run a specific tagged scenario in Cucumber?
What is the difference between a scenario and a scenario outline?
How do you handle data tables in Cucumber?
How do you share state between steps in Cucumber?
What are hooks in Cucumber?
Explain the use of Before and After hooks in Cucumber.
How do you configure Cucumber to run with different browsers?
What is the purpose of the CucumberOptions annotation?
How do you integrate Cucumber with JUnit?
How do you integrate Cucumber with TestNG?
Miscellaneous