Cucumber Cookbook

Shankar Garg

  • 出版商: Packt Publishing
  • 出版日期: 2015-05-30
  • 售價: $1,700
  • 貴賓價: 9.5$1,615
  • 語言: 英文
  • 頁數: 162
  • 裝訂: Paperback
  • ISBN: 1785286005
  • ISBN-13: 9781785286001
  • 下單後立即進貨 (約3~4週)

商品描述

Over 35 hands-on recipes to efficiently master the art of behaviour-driven development using Cucumber-JVM

About This Book

  • 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

Who This Book Is For

This book is intended for business and development personnel who want to use Cucumber for behavior-driven development and test automation. Readers with some familiarity with Cucumber will find this book of most benefit.

Since the main objective of this book is to create test automation frameworks, previous experience in automation will be helpful.

What You Will Learn

  • 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

In Detail

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.