SpinTheMic
Pro

Interview practice question

Testing a DAG before deploying

Data Engineering · Airflow · Beginner

How do you test a new DAG on your machine before deploying it to production?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Run Airflow locally (Astro CLI, docker-compose or airflow standalone).
  • Use dag.test() to execute the whole DAG in one process.
  • airflow tasks test to run a single task.
  • Use test connections and sample data.
  • Run DAG integrity tests.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics