万本电子书0元读

万本电子书0元读

顶部广告

Cucumber Cookbook电子书

售       价:¥

7人正在读 | 0人评论 9.8

作       者:Shankar Garg

出  版  社:Packt Publishing

出版时间:2015-06-02

字       数:51.3万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
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.
目录展开

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

累计评论(0条) 1个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部