Cucumber with Java Build Automation Framework in Less Code

Video description

A Step-by-Step Cucumber BDD Approach to Designing a Powerful Testing Framework (Selenium,Appium,API) with Minimal Coding

About This Video

The course includes:

  • what is Cucumber;
  • the Cucumber BDD approach;
  • Gherkin syntaxes, rules for defining Cucumber feature files;
  • Cucumber automation terminologies;
  • data-driven testing with Cucumber, the data table feature and its importance, and much more.

In Detail

Say goodbye to writing masses of code when developing automation frameworks and welcome Cucumber! Cucumber is a life saving tool for the QA industry when developing test frameworks with minimal programming knowledge. This course helps you to build a top-class framework so that you can implement it for any automation test cases developed in Selenium, Appium, and REST assured API. On course completion, you will have mastered the Cucumber framework and be able to implement it successfully into your work place for any automation test cases you have.

Who this book is for

If you are new to automation testing or an experienced Quality assurance (QA) professional looking to learn the Cucumber framework for automation testing, this course is for you. You will learn all the concepts of the Cucumber framework from scratch.

Publisher resources

Download Example Code

Table of contents

  1. Chapter 1 : Introduction
    1. Introduction
    2. What is Gherkin syntax and how it works
    3. Understand the Cucumber Scenarios Usage
    4. Feature files and StepDefination Importance in Cucumber
  2. Chapter 2 : Cucumber Installation
    1. Install Java and configure in system variables
    2. Cucumber project creation template
    3. Understanding cucumber dependencies
  3. Chapter 3 : Getting started with Cucumber Framework
    1. Understand the Terminologies of Automation
    2. Mapping step definition to feature file
    3. Tidygherkin plugin to generate step definitions
    4. Running the Tests with testRunner.
  4. Chapter 4 : Code reusability with regular Expressions
    1. mportance of regular expressions in feature files
    2. How to reuse functions with different data
  5. Chapter 5 : Data driven testing with Cucumber
    1. Importance of dataTable for Datadriving tests
    2. Parameterizing test runs with Example keyword
  6. Chapter 6 : Cucumber-Core framework Features
    1. Tagging feature to control testcases
    2. Importance of Background keyword in Cucumber scenarios
  7. Chapter 7 : Setup and Teardown for cucumber tests
    1. Usage of Hooks in setting up tear down and setup Scripts
    2. Using Background and Hook together for Robust Tests building
  8. Chapter 8 : Cucumber Framework Reports and Test Runner configurations
    1. Generating reports of cucumber scenarios
    2. Importance of Attributes in cucumber options
    3. How we have addressed common problems with cucumber features
  9. Chapter 9 : Maven and Jenkins
    1. Importance of Maven in Framework development
    2. Installing and configuring Maven
    3. Installing and configuring Maven
    4. Creating Maven Project and importing into eclipse
    5. Understanding POM.xml file and its dependencies
    6. Importance of surefirePlugin in executing Tests
    7. Importance of Jenkins in Test frameworks
    8. Install and configure Jenkins
    9. Configuring Jenkin Settings and Workspace
  10. Chapter 10 : Integrating cucumber Framework with Jenkins
    1. Running the cucumber project from Maven
    2. Scheduling the project from Jenkin job

Product information

  • Title: Cucumber with Java Build Automation Framework in Less Code
  • Author(s): Rahul Shetty
  • Release date: April 2018
  • Publisher(s): Packt Publishing
  • ISBN: 9781789349313