Run multiple files through mocha.
But mocha already runs multiple files? Yes, this runs the files one by one.
Sometimes it just is easier to do it this way
$ npm install --save-dev verde
$ verde [options]
opts can have the following keys:
reporter
{String} the mocha reporter (defaults tolist
)color
{Boolean} whether to use colors (defaults totrue
)require
{Array} require additional modules (defaults to[]
)dir
{String} the directory to read (defaults toprocess.cwd()
)files
{Array} the files to run (defaults to all.js
files inopts.dir
)addons
{Array} additional options to pass to mocharecursive
{Boolean} recursively walk directories to run tests (defaultfalse
)
Begins running the files through mocha
Emitted when the file is passed to mocha
filename
the file being run
Emitted on test failure
err
filename
stdout/stderr
Emitted when the test succeeds
filename
stdout/stderr
Emitted when all files have been run through mocha
MIT
Author: [https://github.com/evanlucas](Evan Lucas)
- [https://github.com/dejanr](Dejan Ranisavljevic)