Cucumber Syllabus Cucumber Overview Audience Prerequisites BDD How
Cucumber Syllabus
• Cucumber -Overview - Audience - Prerequisites - BDD - How it works - Advantages of this Tool • Cucumber- Environment Setup - Java - Eclipse - Maven • Cucumber – Gherkins - The language, in which this executable feature files is written - Examples • Cucumber – Features - Feature Files (A file in which we store features, description about the features and scenarios to be tested is known as Feature File) - Step Definitions (Steps definition file stores the mapping between each step of the scenario defined in the feature file with a code of function to be executed. ) • Cucumber – Scenarios - Scenario Outline
• Cucumber -Annotations - Given, When, Then, And, But, Scenario Outlines, Examples, Background • Cucumber- Scenario Outlines - Scenario outline basically replaces variable/keywords with the value from the table - Examples • Cucumber – Tags - This is a way to organize your scenario execution by using tags in feature file - Examples • Cucumber – Data Tables - Test Data Parameterization - Examples • Cucumber – Comments - Comment is basically a piece of code meant for documentation purpose and not for execution - Examples • Cucumber – Hooks - Cucumber hook allows us to better manage the code workflow and helps us to reduce the code redundancy - Examples • Cucumber – Command Line Options - Examples • Cucumber – Junit / Test. NG (Frameworks) - Examples
- Slides: 3