Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Pluralsight

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

via Pluralsight

Overview

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

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.

Syllabus

  • Course Overview 1min
  • Introduction to BDD and pytest-bdd 19mins
  • Setting up Your Environment 10mins
  • Getting Started with pytest-bdd 15mins
  • Writing Effective Scenarios 19mins
  • Step Definitions and Python 14mins
  • Working with Data 26mins
  • Using More Advanced pytest-bdd Features 11mins
  • Reporting and Continuous Integration with Python and BDD 12mins
  • Best Practices and Tips 11mins

Taught by

Chris Behrens

Reviews

Start your review of Behavior-driven Development (BDD) with pytest-bdd and Python

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.