Cucumber Steps and Scenario Development


Overview/Description
Target Audience
Prerequisites
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description
Cucumber has various strategies and implementations that provide users the ability of creating expressive scenarios. In this course, you'll learn Gherkin and the ability of creating expressive scenarios optimizing test outputs.

Target Audience
Software developers, QA, and business analysts who want to learn how to use Cucumber-Ruby to support behavior-driven software development

Prerequisites
None

Expected Duration (hours)
1.4

Lesson Objectives

Cucumber Steps and Scenario Development

  • start the course
  • describe the purpose of Gherkin in Test-driven Development and benefits along with the syntax used
  • recognize the purpose of using features in Gherkin files and how to implement it to a project
  • define steps and step definitions and how it is implemented in an example
  • use features such as capture groups and wildcards and multiple arguments in Cucumber steps
  • describe the available result states for a Cucumber scenario and provide examples of scenarios containing steps that lead to these results
  • describe a background section in a Cucumber feature file to outline steps common to all scenarios
  • use doc strings and data tables for data that doesn't fit on one line in Cucumber scenarios
  • use scenario outlines to define steps for Cucumber scenarios
  • use nest steps in Cucumber scenarios
  • describe the use of transforms to remove duplication in Cucumber step definitions
  • describe the Cucumber World object and refactor steps into Ruby helper methods that are added to the World
  • describe the uses for directories and tagging Cucumber scenarios at feature and scenario level
  • recognize the implementations of steps and step definitions, and how expressive scenarios work
  • Course Number:
    sd_cucb_a02_it_enus

    Expertise Level
    Beginner