A simple compiler for executing nodeunit on VIM. Useful to use with vim-makegreen
See http://blog.staz.be/?post/2010/09/04/Python-unit-test-and-vim for how to use this compiler with vim-makegreen. It is not exactly its tutorial but really compatible.
use vundle or pathogen is recommended or simply extract to your vim directory
and write the following code to your ftplugin/javascript.vim
or ftplugin/coffee.vim
:
set compiler=nodeunit