0% found this document useful (0 votes)
85 views3 pages

Cucumber Syllabus

This document provides an overview of Cucumber, an open source tool that supports behavior-driven development. It outlines Cucumber's main components, including Gherkin for defining executable features and scenarios, feature files for describing features, step definitions for mapping scenarios to code, and annotations for controlling test flow. The document also discusses Cucumber's support for tags, data tables, comments, hooks, command line options, and integration with testing frameworks.

Uploaded by

Meghna Reddy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
85 views3 pages

Cucumber Syllabus

This document provides an overview of Cucumber, an open source tool that supports behavior-driven development. It outlines Cucumber's main components, including Gherkin for defining executable features and scenarios, feature files for describing features, step definitions for mapping scenarios to code, and annotations for controlling test flow. The document also discusses Cucumber's support for tags, data tables, comments, hooks, command line options, and integration with testing frameworks.

Uploaded by

Meghna Reddy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 3

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, 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 / TestNG (Frameworks)
- Examples

You might also like