Behavior-Driven Development in Python
summary
Demonstrates a concrete Python BDD setup using Gherkin .feature files and step decorators wired to Python code, executed with behave plus Selenium and webdriver-manager. Shows running tests in IDE and in CI (Travis) with headless runs, fixtures/shared context, scenario outlines/examples, tag selection, and step stub generation, provides a cloneable repo, and reports defect rate dropping from about 30% to 5% while proving pipeline integration and automation work.
AI-written summary · about
chapters (11)
- 0:00BDD introduction
- 4:06Why use BDD
- 8:51Gherkin language
- 13:08Feature and steps example
- 21:50Debugging tests in PyCharm
- 23:19Headless mode and fixtures
- 27:18Scenario templates
- 32:04CLI test execution
- 33:51CI/CD with Travis CI
- 36:25BDD adoption tips
- 41:11Q&A
related talks
29mBehavior-Driven Python
21mA Python Introduction to Behavior Driven Development
22mBDD (Behavior Driven Development) Testing for Django Apps
45mBehaviour Driven Development and Behat: Telling Stories Through Code
23mBDD To The Bone: Acceptance Testing with Behave and Selenium
31mWorkshop 1: Automate Your QA - Workshop on Behave a BDD
20mBDD: You’re doing it wrong!
41mBehavior-Driven Development: Feature this!
