potiuk commented on issue #4932: [AIRFLOW-3611] Simplified development workflow 
[Depends on multi-staging]
URL: https://github.com/apache/airflow/pull/4932#issuecomment-478454382
 
 
   Hey @ashb -> you might take a look at the latest version now. I watched your 
Hangout last week and it was super interesting to see how you work and how 
Breeze nicely automates some of the stuff that now require a lot of "wizardry" 
and manual setup. I took the lesson and implemented some of the stuff that you 
pointed out during your hangout. And the current breeze is better than ever now:
   
   * run-test <TAB> autocomplete now also autocompletes full modules and Test 
Classes - so you can easily select whole module or Class rather than single 
tests
   
   * run-test now only initializes the database the first time it is started in 
the container. When you run it subsequent times it will skip database 
initialisation (similar to your workflow but automated). You can always add 
`--with-db-init` flag to re-run initialisation if you need. 
   
   * run-test supports now direct auto-complete-able `--nocapture` flag so that 
you can run tests with ipdb. You can also pass any switches to nosetest via 
flags following `--`
        For example `run-test tests.test_cli -- --nocapture --rednose` will 
work :).
   
   * ipdb is now added as requirement, so no need to add it manually.
   
   * I updated documentation and added chapters about debugging (both using 
ipdb and connecting to the IDE /IntelliJ debugger - including some screenshots 
and explanation). 
   
   I hope you will find it going in the right direction. It will be much easier 
to onboard new people if we have all the stuff automated and do not require to 
know all the wizardry to make the integration tests work.
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to