Simple play icon Course
Skills

Behavior-driven Development (BDD) with pytest-bdd and Python

by Chris Behrens

This course will teach you how to drive your Python code with super-high quality requirements developed with BDD techniques.

What you'll learn

The maximum quality of any software process is always driven by the quality of the requirements - you can have outstanding developers and DevOps processes, and complete the wrong thing well if the requirements are not of equal quality. In this course, Behavior-driven Development (BDD) with pytest-bdd and Python, you’ll learn to use BDD to transform plain English requirements into unit tests and steps that drive your Python development. First, you’ll explore the Gherkin syntax for BDD. Next, you’ll discover pytest-bdd, the tool for implementing and automating the connection between your requirements and the code. Finally, you’ll learn how to use all this to drive execution of your code in a browser with Selenium. When you’re finished with this course, you’ll have the skills and knowledge of BDD Python needed to improve quality and velocity with your Python development.

Table of contents

Course Overview
1min

About the author

Chris B. Behrens is a writer, speaker and software developer, specializing in DevOps. He has been a developer and architect for more than twenty years focusing on small to medium size companies and the development changes they face. He focuses on his flavor of Fear Based Development, whereby a developer ranks their tasks in descending order of anxiety, and how to tackle them in that order. Chief among these anxiety-inducing processes is software deployment, a topic that Behrens focuses upon. He ... more

Ready to upskill? Get started