brunch/brunch — pull request #301 by andihit (2012-06-03 17:50:41+00:00)
Title: added 'brunch test' command

finally, the `brunch test` command is here ;)

it may need some polish though:
* I got a strange bug when calling `watch()` directly (the process exited and didn't wait for callbacks), so I call `brunch build` now with a child process (not very nice)
* hardcoded `javascripts/tests.js` path
* I modified `GeneratedFile` to append `this.require('test/initialize');` at the end of the tests.js file

and as an enhancement allow custom mocha reporters and interfaces, but that will be easy to implement