~/talk

Behaviour Driven Development in Airflow

Talkat Airflow Summit 2024 · 2024-09-10..09-12· [testing]
links:none on file
slides:none on file

Claims a workflow that writes tests before any Airflow code and runs 279 pytest checks in about a minute by caching the DagBag and reusing fixtures; implements a small BDD layer (dataclass context + step helpers) inspired by behave/Cucumber and uses pyhamcrest-style matchers for readable assertions. Tests validate rendering, execution, given-when-then semantics, task dependencies, import warnings, SQL templates and data contracts, integrate SQLFluff, debug in VS Code and run in GitHub Actions.

AI-written summary · about

  1. 0:00Introduction to BDD in Airflow
  2. 3:59What is Behavior-Driven Development
  3. 6:25Cucumber and Gherkin basics
  4. 9:44Challenges with Behave
  5. 12:13Switching to Pytest
  6. 13:38Simplifying test implementation
  7. 15:02Demo and debugging
  8. 17:11Performance and scalability
  9. 18:14Conclusion and future work
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.