Apache airflow dag unit testing

I am new to Apache airflow and have been assigned a task to determine frameworks which can be used to unit and integration testing of Airflow DAGs. Until now I have seen examples of pytest and Python unittest frameworks.

Can we use other Python test frameworks for Airflow unit and integration testing? Also which one should be taken for implementation? Any links to related articles will help me a lot.

Thank you.

Hey @aniketkhadke , Thanks for reaching out. You can test the Dags using Astro CLI, Please refer to the Astro documentation with steps to Test the Dags locally.

Hope this helps!