Avihais12344 commented on issue #63107: URL: https://github.com/apache/airflow/issues/63107#issuecomment-4029949998
Thanks for your patience, so it goes like this: I want to use `dag.test()` to create automated tests (UT, e2e, etc) for my dags. I want to give every test a clean airflow db (so my tests would only test and fail on my dag and not db conflicts or other stuff). I know that `dag.test()` uses the airflow's db (to write `xcom`s and other stuff). So I want before every test to cleanup the DB, so if `dag.test()` is the recommended way to test dags, maybe we should add a utility function to clean the DB only at certain circumstances (so we don't delete the prod db for example). If I am wrong about my assumptions or my knowledge, please let me know. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
