sponsor Vim development Vim logo Vim Book Ad

nodeunit.vim : A simple compiler for testing javascript/coffeescript with nodeunit

 script karma  Rating 0/0, Downloaded by 541  Comments, bugs, improvements  Vim wiki

created by
Alisue Lambda
 
script type
utility
 
description
nodeunit.vim

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.
how to install

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

Developed at https://github.com/lambdalisue/nodeunit.vim
 
install details
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
nodeunit.vim.tar.gz 0.1 2011-12-08 7.0 Alisue Lambda Initial upload
ip used for rating: 3.236.57.1

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github