- Lab
- Core Tech

DevOps Foundations: Implement Behavior Driven Design Principles
In this lab, you’ll practice working with Behavior Driven Design (BDD). When you’re finished, you’ll have the skills and knowledge of how BDD works to implement it in your own projects and processes.

Path Info
Table of Contents
-
Challenge
Get Started in the Lab Environment
Here are the initial instructions and explanation of the lab environment. Read this while your environment is busy creating itself from nothing. Yes, this violates physics; we know. How fun!
-
Challenge
Understand the Structure of a BDD Project
To start this lab, you'll look over the three components of an already-completed behavior-driven design (bdd) setup: the code, the feature, and the tests that connect the code to the feature.
-
Challenge
Understand the Pytest BDD Test File
You'll now examine the parts of the bdd test file, understand how they map to the code and to the feature, and execute the tests therein.
-
Challenge
Fix the Code and Getting from Red to Green
To finish up this lab, you'll find the problem the test is demonstrating, fix the problem, get all of your tests passing, and look at two super-simple reporting formats.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.