Writing a Dag integrity test
Integrity tests sit at the base of the Dag testing pyramid. They catch import errors, like a missing provider package or a renamed variable, that would silently remove a Dag from the scheduler.
A Dag called daily_etl has been deployed, and your team wants a pytest-based integrity test that uses DagBag to verify it loads correctly.
Deze oefening maakt deel uit van de cursus
Building Data Pipelines with Airflow
Interactieve oefening met praktijkervaring
Zet theorie om in actie met een van onze interactieve oefeningen
Begin oefening