<img src="http://i.imgur.com/WrhpNfC.jpg" />
In your Cakefile, adding a:
will get you common tasks for running Mocha tests, using Docco to generate documentation, and pushing that documentation to Github Pages. It uses executables in your node_modules directory to run these tasks.
For instance, a
cake test will run:
./node_modules/.bin/mocha --compilers coffee:coffee-script --colors --recursive -R spec .
cake -f test/models test will run tests only for your models.
cake -f test/models test:watch will run tests only for your models when your
tests are modified.