potiuk commented on code in PR #58969: URL: https://github.com/apache/airflow/pull/58969#discussion_r2603059930
########## airflow-core/docs/best-practices.rst: ########## @@ -650,6 +650,127 @@ want to optimize your Dags there are the following actions you can take: Testing a Dag ^^^^^^^^^^^^^ + +Testing Operators with pytest +----------------------------- + +The ``dag.test()`` example shown in older documentation works only when executed Review Comment: I think we can remove this paragraph - there is no point to refer to "past" - the important is "current" - this is something we tend to forget that if someone is used to old ways of doing things, they got it from somewhere (old docs, internet) - but what our documentation shoudl reflect is what is "now" best practice. -- 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]
