Book Image

Cucumber Cookbook

By : Shankar Garg
Book Image

Cucumber Cookbook

By: Shankar Garg

Overview of this book

Table of Contents (13 chapters)
Cucumber Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 1. Writing Feature Files

In this chapter, we will cover the following topics:

  • 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 Background 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, Background, and Scenario Outlines