benbria/coffee-coverage — pull request #20 by devongovett (2014-07-14 04:31:19+00:00)
Title: Add coffee-coverage/register for easier mocha testing

It's kinda annoying to have to add a `coverage.js` to every project with the same code that just registers coffee-coverage for mocha tests. By adding this file, users can get sensible defaults for coffee-coverage without needing to add a registration file to their project at all. Just install coffee-coverage and use the following command to run mocha:

mocha --require coffee-coverage/register --reporter html-cov > coverage.html