~/talk

A Python Introduction to Behavior Driven Development

Talkat PyCon SE 2022 · 2022-11-03..11-04· [testing, python]
links:none on file
slides:none on file

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

  1. 0:00Introduction
  2. 1:01Testing challenges
  3. 2:54Overview of BDD
  4. 4:20The Gherkin language
  5. 6:47Implementing with behave
  6. 11:02Real-world application
  7. 15:16Automation and CI
  8. 17:33Summary and conclusion
  9. 18:17Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.