Cucumber Cookbook

More Information
  • Explore the usage of the Gherkin Language to write meaningful and smart Feature files
  • Understand Scenario, Steps, Backgrounds, Scenario Outlines, and Data Tables
  • Discover the concepts of Glue Code and Step Definitions in detail
  • Gain insights into the different types of Step Definitions, Regular Expressions, Doc Strings, Data Table transformations, and Capture Groups
  • Master the advanced concepts of implementing Tags and Hooks
  • Override default Cucumber options and settings along with different output report formats
  • Run Jenkins and Cucumber from Terminal while running various Cucumber Scenarios in parallel

Today, behaviour-driven development (BDD) is gaining popularity around the world. Cucumber-JVM is one of the fastest growing tools and offers a cutting-edge platform for conceptualizing and implementing BDD. The variety of features available within Cucumber enhances the experience of implementing BDD for both business and development teams.

This book provides you with the skills you need to successfully create, customize, and configure the Cucumber framework. You will discover how to create Feature files, and Step Definitions, and enable various configurations, such as "Before" and "After" functions, with fun exercises. You'll round off your learning by creating automation frameworks to automate Web, REST, and Mobile apps.

  • Create a test automation framework to handle web, REST, and native mobile application automation
  • Discover Glue code, Hooks, Tags, and Cucumber’s integration with Maven, Jenkins, and Git
  • Comprehensive recipes in Cucumber for behaviour-driven development and test automation
Page Count 162
Course Length 4 hours 51 minutes
ISBN 9781785286001
Date Of Publication 1 Jun 2015


Shankar Garg

Shankar Garg is an Agile enthusiast with expertise in automation testing. Currently, he is working as a senior consultant, testing with Xebia IT Architects, India.

He started as a Java developer but his love for breaking things got him into testing. He has worked on the automation of many projects for web, mobile, and SOA technologies. Right now, he is in love with Cucumber, Selenium, Appium, and Groovy.

Prior to working with Xebia, he worked for, Honeywell, and Tata Consultancy Services (TCS).

He is a Certified Scrum Master (CSM), Certified Tester (ISTQB), Certified Programmer for Java (SCJP 5.0) and Oracle 9i (OCA).