This course is included in the Everything IT Self-Paced training package.
Cucumber is a tool that supports behavior-driven development. Stakeholder requirements can be specified using plain text within features and scenarios, which can then be used for automated testing during development and for documentation when the product has been developed. While scenario steps are generated using plain text with a structure provided by a syntax called Gherkin, the steps that make up the scenarios are matched with step definitions coded in the language of the underlying platform. Cucumber is implemented for a number of different platforms including Ruby, Ruby on Rails, Java, Clojure, and Python. This learning path will cover how to create features and scenarios and steps using Cucumber-Ruby. You will learn how to optimize and organize features and scenarios. You’ll learn how to work with message queues, asynchronous behavior, and databases. You’ll also learn how to test Representational State Transfer application program interfaces or REST APIs using Cucumber, and you’ll learn how to troubleshoot Cucumber scenarios.
Developers familiar with Ruby, who want to use Cucumber to create text-based feature requirements and documentation and run automated acceptance tests
Overview of Cucumber
Generating Features and Scenarios
Creating and Implementing Step Definitions
Using Doc Strings and Data Tables
Using Scenario Outlines
Using Helper Methods
Grouping Features in Subfolders
Handling Asynchronous Systems
Working with Databases
Testing REST APIs
Issues with Features and Scenarios
Exercise: Creating Cucumber Features for an App