I use a tmux + vim development environment which I find really productive. When hacking on python projects, I like to have a tmux window open with nosetests logs, typically using nose-watch.
Every now and then after saving, I’d switch to that window to see how the tests are doing.
I wanted something a bit more small that would give me immediate feedback in my main window that I use, which is of course the vim window. The feedback should on one hand not take up to much screen estate, nor disrupt my vim-fu focus.
Enter nose-rapido.
nose-rapido is a nosetests plugin, that does one small and simply thingy: It fills your terminal with green (or optionally blue for the colorblinded) or red color, according to your nosetests result.
Install
|
|
Run
|
|
With nose-watch
|
|
With blue colors instead of green
|
|
E.g:
And if you fail your tests:
With blue instead of green:
Enjoy!