A Python Introduction to Behavior Driven Development
summary
Explains how to write executable requirements with Gherkin and run them in Python using behave, tying feature files to step implementations, backgrounds and tags. Shows a real repo running CI with GitHub Actions against DuckDB, BigQuery, Postgres and Snowflake; current suite is 17 features, 91 scenarios, 474 steps and a full matrix run takes ~18 minutes (BigQuery ~4 min). Demonstrates DBT integration tests, initial failures fixed iteratively, and Slack alerts for broken runs.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 1:01Testing challenges
- 2:54Overview of BDD
- 4:20The Gherkin language
- 6:47Implementing with behave
- 11:02Real-world application
- 15:16Automation and CI
- 17:33Summary and conclusion
- 18:17Q&A session
related talks
46mBehavior-Driven Development in Python
29mBehavior-Driven Python
23mBDD To The Bone: Acceptance Testing with Behave and Selenium
41mBehavior-Driven Development: Feature this!
31mWorkshop 1: Automate Your QA - Workshop on Behave a BDD
45mBehaviour Driven Development and Behat: Telling Stories Through Code
22mBDD (Behavior Driven Development) Testing for Django Apps
17mUnlocking Collaboration in Code: A Journey through BDD
