grunt-mochify
Run Mochify with Grunt
Mochify is an excellent package which will automatically bundle your tests with Browserify, and run them headlessly with PhantomJS. This package offers a Grunt task to use Mochify.
Usage
Refer to the Mochify Docs for information about options.
This is a multi-task, so:
Defaults
The default reporter is spec
, like in Mocha. Mochify's default reporter is dot
.
color
is on by default.
Debug Mode
Even if debug
is false
or unspecified in the Grunt config, you can start any target in "debug" mode via:
$ grunt mochify:myTarget:debug
Installation
$ npm install --save-dev grunt grunt-mochify
Fair Warning
I haven't tested this much.
Author
License
Copyright 2015, FocusVision Worldwide. Licensed MIT.