售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Cucumber Cookbook
Table of Contents
Cucumber Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do it…
How it works…
There's more…
See also
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Writing Feature Files
Introduction
Writing your first Feature file with one Scenario
How to do it…
How it works…
Feature
Scenarios
Steps
Creating Scenarios with different Steps
How to do it…
How it works…
Creating a Scenario with the And and But keywords
Getting ready…
How to do it…
How it works…
Writing a Feature file with multiple Scenarios
How to do it…
How it works…
Adding Backgrounds to Feature files
Getting ready
How to do it…
How it works…
Sending multiple arguments in Steps
How to do it…
How it works…
Using complex data types to store data
Getting ready
How to do it…
How it works…
Implementing Scenario Outlines
Getting ready
How to do it…
How it works…
Creating a Feature file in a language other than English
How to do it…
How it works…
Combining Scenarios, Backgrounds, and Scenario Outlines
How to do it…
How it works…
2. Creating Step Definitions
Introduction
Creating your first Step Definitions file
How to do it…
How it works…
Step Definitions
Undefined Steps
Pending Steps
Implemented Steps
Identifying Duplicate and Ambiguous Step Definitions
How to do it…
How it works…
Using Regular Expressions to optimize Step Definitions
How to do it…
How it works…
Using Optional Capture and Noncapture Groups
How to do it…
How it works…
Transforming Data Tables to parse the test data
How to do it…
How it works…
Implementing data table diffs to compare tables
How to do it…
How it works…
Using Doc Strings to parse big data as one chunk
How to do it…
How it works…
Combining Doc Strings and Scenario Outlines
How to do it…
How it works…
Defining String transformations for better conversions
Getting ready
How to do it…
How it works…
3. Enabling Fixtures
Introduction
Tagging
Getting ready
How to do it…
How it works…
ANDing and ORing Tags
Getting ready
How to do it…
How it works…
Adding Hooks to Cucumber code
Getting ready
How to do it…
How it works…
There's more…
Tagging the Hooks
Getting ready
How to do it…
How it works…
ANDing and ORing tagged Hooks
Getting ready
How to Do it
How it works…
4. Configuring Cucumber
Introduction
Integrating Cucumber with JUnit
How to do it…
How it works…
Overriding the Cucumber Options
How to do it…
How it works…
Running Strict and Running Dry
How to do it…
How it works…
Configuring the Cucumber Console output
How to do it…
How it works…
Directing the Cucumber output to a file
How to do it…
How it works…
Configuring the naming conventions
How to do it…
How it works…
5. Running Cucumber
Introduction
Integrating Cucumber with Maven
Getting ready
How to do it…
How it works…
Running Cucumber from the Terminal
How to do it…
How it works…
Overriding Options from the Terminal
How to do it…
How it works…
Integrating Cucumber with Jenkins and GitHub
Getting ready
How to do it…
How it works…
Running Cucumber test cases in parallel
How to do it…
How it works…
6. Building Cucumber Frameworks
Introduction
Building a Web Automation framework
Getting ready
How to do it…
How it works…
Building a Mobile Automation framework
Getting ready
How to do it…
How it works…
Building a REST Automation framework
How to do it…
How it works…
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜