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.
Это упражнение является частью курса
Building Data Pipelines with Airflow
Практическое интерактивное упражнение
Превратите теорию в практику с помощью одного из наших интерактивных упражнений
Начать упражнение