vim+python+nosetests yummmm!

Now that I’ve finally figured out how to enable Python bindings in vim in OSX, I’ve managed to do something useful.

vim+python+nosetests to automagically detect what function or method you’re in and then run nosetests against that piece of code.

Yes - if you’re running Emacs, this is oh-so-boring, but well - if you’re using emacs - your wrists probably hurt really badly a lot of the time too.

I’m still tweaking things a bit, but the video shows me running module level test functions as well as unittest.TestCase-like test methods.

I’ll be posting code up shortly after I get it into a state where it’s not completely embarrassing to me.


About this entry