Cucumber Steps and Scenario Development

Cucumber 3.0.1    |    Beginner
  • 13 videos | 1h 13m 10s
  • Includes Assessment
  • Earns a Badge
Rating 4.5 of 90 users Rating 4.5 of 90 users (90)
Cucumber has various strategies and implementations that provide users the ability of creating expressive scenarios. Explore Gherkin and the ability of creating expressive scenarios optimizing test outputs.

WHAT YOU WILL LEARN

  • 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

IN THIS COURSE

  • 2m 59s
    After completing this video, you will be able to describe the purpose of Gherkin in Test-driven Development, the benefits, and the syntax used. FREE ACCESS
  • 8m 31s
    After completing this video, you will be able to recognize the purpose of using features in Gherkin files and how to implement them to a project. FREE ACCESS
  • Locked
    3.  Distinction between Steps and Step Definitions
    4m 49s
    In this video, you will learn how to define steps and step definitions, and how they are implemented in an example. FREE ACCESS
  • Locked
    4.  Capturing Arguments
    9m 57s
    Learn how to use features such as capture groups, wildcards, and multiple arguments in Cucumber steps. FREE ACCESS
  • Locked
    5.  Result States
    7m 57s
    After completing this video, you will be able to describe the available result states for a Cucumber scenario and provide examples of scenarios containing steps that lead to these results. FREE ACCESS
  • Locked
    6.  Using Backgrounds
    2m 31s
    After completing this video, you will be able to describe a background section in a Cucumber feature file that outlines steps common to all scenarios. FREE ACCESS
  • Locked
    7.  Using Doc Strings and Data Tables
    7m 55s
    In this video, learn how to use doc strings and data tables for data that doesn't fit on one line in Cucumber scenarios. FREE ACCESS
  • Locked
    8.  Using Scenario Outlines
    3m 2s
    In this video, you will use scenario outlines to define steps for your Cucumber scenarios. FREE ACCESS
  • Locked
    9.  Nesting Steps
    4m 51s
    During this video, you will learn how to use nested steps in Cucumber scenarios. FREE ACCESS
  • Locked
    10.  Using Transforms
    3m 6s
    Upon completion of this video, you will be able to describe how to use transforms to remove duplication in Cucumber step definitions. FREE ACCESS
  • Locked
    11.  Using Helper Methods
    3m 21s
    Upon completion of this video, you will be able to describe the Cucumber World object and refactor steps into Ruby helper methods. These helper methods will be added to the World. FREE ACCESS
  • Locked
    12.  Organizing Scenarios
    5m 40s
    After completing this video, you will be able to describe the uses for directories and tagging Cucumber scenarios at the feature and scenario level. FREE ACCESS
  • Locked
    13.  Exercise: Expressive Scenarios and Step Definitions
    8m 31s
    Upon completion of this video, you will be able to recognize the implementations of steps and step definitions, and how expressive scenarios work. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Rating 4.6 of 4717 users Rating 4.6 of 4717 users (4717)
Rating 4.6 of 89 users Rating 4.6 of 89 users (89)
Rating 5.0 of 1 users Rating 5.0 of 1 users (1)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.4 of 72 users Rating 4.4 of 72 users (72)
Rating 4.1 of 87 users Rating 4.1 of 87 users (87)
Rating 4.7 of 25 users Rating 4.7 of 25 users (25)