Cucumber Cookbook

Shankar Garg

  • 出版商: Packt Publishing
  • 出版日期: 2015-05-30
  • 售價: $1,810
  • 貴賓價: 9.5$1,720
  • 語言: 英文
  • 頁數: 162
  • 裝訂: Paperback
  • ISBN: 1785286005
  • ISBN-13: 9781785286001
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

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.

商品描述(中文翻譯)

超過 35 個實用食譜,讓您有效掌握使用 Cucumber-JVM 的行為驅動開發藝術

關於本書
- 創建一個測試自動化框架,以處理網頁、REST 和原生移動應用程式的自動化
- 探索 Glue code、Hooks、Tags,以及 Cucumber 與 Maven、Jenkins 和 Git 的整合
- 提供全面的 Cucumber 行為驅動開發和測試自動化食譜

本書適合誰
本書適合希望使用 Cucumber 進行行為驅動開發和測試自動化的商業和開發人員。對 Cucumber 有一定了解的讀者將會從本書中獲益良多。

由於本書的主要目標是創建測試自動化框架,因此先前的自動化經驗將會有所幫助。

您將學到什麼
- 探索 Gherkin 語言的使用,以撰寫有意義且智能的 Feature 檔案
- 理解 Scenario、Steps、Backgrounds、Scenario Outlines 和 Data Tables
- 詳細了解 Glue Code 和 Step Definitions 的概念
- 獲得有關不同類型的 Step Definitions、正則表達式、Doc Strings、Data Table 轉換和 Capture Groups 的見解
- 精通實現 Tags 和 Hooks 的進階概念
- 覆蓋預設的 Cucumber 選項和設置,以及不同的輸出報告格式
- 在終端中運行 Jenkins 和 Cucumber,同時並行運行各種 Cucumber Scenarios

詳細內容
如今,行為驅動開發 (BDD) 在全球範圍內越來越受歡迎。Cucumber-JVM 是增長最快的工具之一,提供了一個尖端的平台,用於概念化和實施 BDD。Cucumber 中可用的各種功能增強了商業和開發團隊實施 BDD 的體驗。

本書提供了您成功創建、自定義和配置 Cucumber 框架所需的技能。您將學會如何創建 Feature 檔案和 Step Definitions,並啟用各種配置,例如 'Before' 和 'After' 函數,並通過有趣的練習來進行學習。您將通過創建自動化框架來自動化網頁、REST 和移動應用程式,來完成您的學習。