potiuk commented on issue #28287:
URL: https://github.com/apache/airflow/issues/28287#issuecomment-1385056268

   Yes. I think the way `tasks tests` with it's current "no DB access" 
assumption is very limited as you cannot really test task which rely on the 
dependencies.
   
   One way of solving this will be to be able to add all extra dependencies 
needed (Xcom and Params I think are important) as command line parameters and 
injecting them whenever the task retrieves them. We could even go as far as 
failing such tasks when those dependencies are miissing and the error could 
suggest the right CLI command line to pass to "task test" command.


-- 
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]

Reply via email to