Cargando…

Cucumber cookbook : over 35 hands-on recipes to efficiently master the art of behavior driven development using Cucumber-JVM /

This book is intended for business and development personnel who want to use Cucumber for behavior-driven development and test automation. You will learn how to explore the usage of the Gherkin language to write meaningful and smart feature files; understand scenario, steps, backgrounds, scenario ou...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Garg, Shankar (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, UK : Packt Publishing, 2015.
Colección:Community experience distilled.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Cover
  • Copyright
  • Credits
  • About the Author
  • About the Reviewers
  • www.PacktPub.com
  • Table of Contents
  • Preface
  • Chapter 1: Writing Feature Files
  • Introduction
  • Writing your first Feature file with one Scenario
  • Creating Scenarios with different Steps
  • Creating a Scenario with the And and But keywords
  • Writing a Feature file with multiple Scenarios
  • Adding Backgrounds to Feature files
  • Sending multiple arguments in Steps
  • Using complex data types to store data
  • Implementing Scenario Outlines
  • Creating a Feature file in a language other than English
  • Combining Scenarios, Backgrounds, and Scenario Outlines
  • Chapter 2: Creating Step Definitions
  • Introduction
  • Creating your first Step Definitions file
  • Identifying Duplicate and Ambiguous Step Definitions
  • Using Regular Expressions to optimize Step Definitions
  • Using Optional Capture and Noncapture groups
  • Transforming Data Tables to parse the test data
  • Implementing data table diffs to compare tables
  • Using Doc Strings to parse big data as one chunk
  • Combining Doc Strings and Scenario Outlines
  • Defining String transformations for better conversions
  • Chapter 3: Enabling Fixtures
  • Introduction
  • Tagging
  • ANDing and ORing Tags
  • Adding Hooks to Cucumber code
  • Tagging the Hooks
  • ANDing and ORing tagged Hooks
  • Chapter 4: Configuring Cucumber
  • Introduction
  • Integrating Cucumber with JUnit
  • Overriding the Cucumber Options
  • Running Strict and Running Dry
  • Configuring the Cucumber Console output
  • Directing the Cucumber output to a file
  • Configuring the naming conventions
  • Chapter 5: Running Cucumber
  • Introduction
  • Integrating Cucumber with Maven
  • Running Cucumber from the Terminal
  • Overriding Options from the Terminal
  • Integrating Cucumber with Jenkins and GitHub
  • Running Cucumber test cases in parallel.
  • Chapter 6: Building Cucumber Frameworks
  • Introduction
  • Building a Web Automation framework
  • Building a Mobile Automation framework
  • Building a REST Automation framework
  • Index.