caffemocha
v0.1.3
Published
a piccolo command to run mocha with the coffescript compiler.
Downloads
3
Readme
caffemocha
Just a shorthand of mocha --compilers coffee:coffee-script/register
.
Prerequisites
- mocha
- coffe-script
and you're sure you can run
$ mocha --compilers coffee:coffee-script/register
successfully.
Install
$ npm install caffemocha
$ (do some PATH fiddling. My preference is direnv.)
$ cat .envrc
export PATH=$(npm bin):$PATH
or
$ npm install -g caffemocha
or
$ sudo npm install -g caffemocha
Run
$ caffemocha
$ caffemocha test/unit/my.coffe
$ caffemocha test/**/*.coffee