CommencerCommencez gratuitement

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.

Cet exercice fait partie du cours

<cours>Building Data Pipelines with Airflow</cours>
Voir le cours

Exercice interactif pratique

Transformez la théorie en action avec l’un de nos exercices interactifs

Commencer l’exercice