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.
Questo esercizio fa parte del corso
Building Data Pipelines with Airflow
esercizio interattivo pratico
Trasforma la teoria in pratica con uno dei nostri esercizi interattivi
Inizia esercizio