• Online, Self-Paced
Course Description

Cucumber and BDD provide several analysis and collaboration techniques to complement Test Driven Development. In this course, you will explore the concepts of Cucumber and BDD, including rules, example mapping, and installing Cucumber.

Learning Objectives

BDD for Cucumber

  • start the course
  • define the concepts behind ATDD, automated acceptance tests, and how Behavior-driven Development stems from this concept
  • recognize the fundamental principles of BDD, process in which Cucumber supports and the benefits of using it
  • describe the process in example mapping and understand the distinction between rules and examples
  • demonstrate use cases using the application of Rules, Examples and Example Mapping

Getting Started with Cucumber

  • identify how Cucumber works with features and steps and how it can be used with Ruby code
  • list the available versions and the process of installing Cucumber with Ruby on Linux, Mac OSX, and Windows development machines, including HTTP proxy settings and additional gem packages
  • install Cucumber with Ruby on a Mac OSX development machine

Exploring Features and Scenarios

  • identify Cucumber features and scenarios by writing feature files
  • use regular expressions to create step definitions in Cucumber scenarios
  • run Cucumber scenarios and show how to use the different formatters
  • recognize how to add and manage assertions in Cucumber scenarios

Practice: Cucumber and BDD Fundamentals

  • create a scenario that includes both features and steps, while exploring concepts in BDD design

Framework Connections

The materials within this course focus on the Knowledge Skills and Abilities (KSAs) identified within the Specialty Areas listed below. Click to view Specialty Area details within the interactive National Cybersecurity Workforce Framework.

Feedback

If you would like to provide feedback for this course, please e-mail the NICCS SO at NICCS@hq.dhs.gov.