Mastering Behavior-Driven Development Using Cucumber
Pinakin A Chaubal
SKU: 9789391030551
ISBN: 9789391030476
Publishing Date: August 2021
Pages: 228
Weight:
Dimension: 7.5 x 9.25 Inches
Master the skills required to effectively use Cucumber BDD which simplifies Agile development and fast-paced time-to-market
KEY FEATURESÂ Â
- A step-by-step explanation of each component of the Cucumber framework.
- Expert coverage on speeding up the implementation of the Cucumber framework.
- Includes Parallel Execution, Cloud Testing, Explore Gherkin, and many more.
DESCRIPTIONÂ
In this book, readers will learn everything they need to know about Behavior-Driven Development (BDD) and a framework used for automation testing for BDD.
The book is divided into three sections. The first section covers the building blocks of Cucumber such as Feature files, Step Definition classes, and Runner classes, among other things. These will serve as the building blocks for becoming more familiar with Cucumber.
The second section covers the Page Object design pattern and Page Factories, both of which are useful in developing robust frameworks.
The final section demonstrates Cucumber's integration with TestNG and Maven. We will be putting each Maven build in Jenkins and configuring Jenkins to trigger automatically when a development build is completed.
After reading this book, the test engineer will understand the concept of incorporating Cucumber as a BDD framework into his testing. As a result, he will be able to streamline the testing and bug detection processes.
WHAT YOU WILL LEARN
- Understand the fundamentals of Test-Driven Development and Behavior-Driven Development.
- Investigate Cucumber's building blocks such as Feature Files and Step Definition Files.
- Learn the Base Class and inheritance concept within the Page Object Model Framework.
- Create a TestNG XML that calls the test runner class.
- Practice triggering POM xml testing.
WHO THIS BOOK IS FORÂ Â
This book is aimed at individuals who have a firm grasp of the fundamentals of Java and are interested in improving their knowledge of the BDD framework.
Section 1: Understanding the Cucumber framework
Chapter 1: Introduction to Behavior-Driven Development
Chapter 2: Understanding Feature Files
Chapter 3: Understanding Step Definition files
Chapter 4: Learning about the TestRunner
Section 2: Learning the Page Object Design Pattern
Chapter 5: Understanding the Page Object Model and Creating Page Objects
Chapter 6: Understanding Page Factories and Creating Page Factories
Section 3:Â Integration with TestNG, Maven, and Jenkins
Chapter 7: Configuring the TestNG Framework
Chapter 8: Configuring Maven and Learning about POM.xmlÂ
Chapter 9: POM.xml Execution from Eclipse and Command Line
Chapter 10: Configuring POM.xml to Trigger TestNG xml
Chapter 11: Configuring the Runner Class for Cucumber Reporter Plugin
Chapter 12: Reporting Using Extent Reports
Chapter 13: Parallel Execution Using Selenium Grid
Chapter 14: Integration with JenkinsÂ
Pinakin Chaubal is a BE (Computer Science) with 19+ years of experience in the IT area. He has done PMP, ISTQB, HP0-M47 (QTP 11.0 Functional testing expert), and INS-21(General Insurance). He is working as an Automation Architect at Intellect Design Arena Ltd. (Previously, Polaris Consulting). Previously, he worked with companies like Patni, Accenture, ACS International (USA), L&T Infotech (USA & India), Polaris Financial Technology, and SQS. He carries 6 years of onsite experience in the US and 8 months in Hong Kong and China working closely with the client and getting involved in senior management and stakeholder meetings. The clients that he has worked for are YES Bank, HSBC, Travelers Insurance, Harleysville Insurance, Albertsons retail chain, Bellsouth Telecommunications GE-Fleet Services, and GE-Supply. He is the creator of the Youtube channel 'Automation Geek' which teaches PMP, ISTQB, Test Automation using Selenium and Cucumber, and Performance testing using JMeter 3.0. He is the author of ‘Page Object Model using Selenium WebDriver and Java’, ‘Selenium WebDriver Quick Start Guide-Packt Publishing’ and ‘Selenium Framework Design with Keyword- Driven Testing-BPB Publications’. He is also the reviewer of the newly released book on Selenium Frameworks - 'Selenium Framework Design in Data-Driven Testing' by Carl Cocchiaro.
LinkedIn Profile:Â Pinakin Chaubal
Blog Link:Â https:Â //www.youtube.com/channel/UCkkh8bX1KS5iaORXX23P8ZA