- documentation for
mocha_bin
feature. See: #31 - update peer dependency on grunt to support grunt 1.0: #33
- add contributors to package.json
- Enhancement remove manual directory creation for the xunit-file case since xunit-file now handles that internally
- New feature adding configurable option for path to mocha binary
- New feature better formatting for console output
Bug fix Fixes #24. Minor release bump since this bug fix does represent a change in behavior. Though presumably nobody was relying on the buggy behavior. It just took some time to find this edge case due to the lack of a comprehensive unit test suite.
Breaking change moving all non-mocha options out of "mocha" config namespace (e.g. reportLocation). Adding "loop" namespace for such options. See https://github.com/grawk/grunt-loop-mocha/blob/master/README.md#loop-options for more details
New feature parallelism by file or directory in addition to parallelism by iterations. See parallel option
- Change structure of JSON config to namespace the mocha options, and namespace additional values as siblings to the mocha/iterations objects
- Pass-through variables no longer set via argv on the command line. Instead, per the additional namespaces on the options object, stringified JSON environment variables will be set
- Export iteration label as a command line arg for use in mocha tests
- Modify parallel flag handling such that options.parallel === undefined will not cause an exception
- Modify parallel flag handling such that Boolean true as well as any string version of "true" will evaluate to "true". Allows flag to be passed in via command line arg
- Modify noFail flag handling such that Boolean true as well as any string version of "true" will evaluate to "true". Allows flag to be passed in via command line arg
- Adding noFail option to prevent mocha from returning non-zero to the parent shell process. Allows a continuous integration build to determine success/failure based on xunit output
- Adding parallel mocha run option. Set "parallel": true in your Gruntfile config. Value will default to false. Results in use of "async.forEach" versus "async.forEachSeries" to execute mocha.