Description |
1 online resource (1 volume) : illustrations |
Series |
Community Experience Distilled |
|
Community experience distilled.
|
Contents |
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 |
Summary |
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 outlines, and data tables; discover the concepts of glue code and step definitions; gain insight 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. -- Edited summary from book |
Notes |
Includes index |
|
"Quick answers to common problems"--Cover |
|
Online resource; title from cover (Safari, viewed June 19, 2015) |
SUBJECT |
Java virtual machine. http://id.loc.gov/authorities/names/n97050367
|
|
Java virtual machine fast |
Subject |
Computer software -- Development -- Computer programs
|
|
Java (Computer program language)
|
|
Ruby (Computer program language)
|
|
COMPUTERS -- Programming Languages -- Java.
|
|
COMPUTERS -- Software Development & Engineering -- Tools.
|
|
Computer software -- Development -- Computer programs
|
|
Java (Computer program language)
|
|
Ruby (Computer program language)
|
Form |
Electronic book
|
ISBN |
9781785284137 |
|
1785284134 |
|