- Bump mocha to 2.4.5
- [BREAKING] Bump grunt-lib-phantomjs to master, uses PhantomJS 2.x
- [BREAKING]
run
option is now true by default
- Bump mocha to 1.18 for promise support
- README fixes
options.growlOnSuccess
option added (@naganowl)
- Actually error out if
logErrors
is true and error
- Add
logErrors
option to fail/log script errors (@demmer)
- Add test state to output for XUnit
- Explicit
done()
call with true/false so grunt exits with correct code. (@Bartvds)
- lodash is a dep, not a dev-dep
- Add
dest
output config for outputting to a file (@BYK)
- Bump example mocha to
1.14.0
- Compatible with mocha
1.14.0
(@perfectworks) - Cleanup log listeners during watch (@rayshih)
- Bump grunt-lib-phantomjs to 0.4, which uses PhantomJS 1.9.*
- Fix bail option
- Fixing package.json keywords, no functional changes
- Support for custom reporters (@Bartvds)
- Keep track of suites and fake test parent (@demmer)
- Package size optimizations (@sindresorhus)
- Bump mocha version to 1.12
grunt.warn
instead ofgrunt.log.warn
on failures with bail false, correct exit code. (#71)
- Add
log
option to outputconsole.log
. False by default. - Update Readme to reflect Grunt 0.4 changes (finally)
- Add
bail
option (false by default) - Do not bail on error by default
- Update
grunt-lib-phantomjs
to 0.3.0
- You may now specify which reporter you want to use (thanks SBoudrias)
- Growl only shows notices on failures
sampleTest: {
src: ['test.js'],
options: {
reporter: 'Nyan'
mocha: {
ui: 'tdd'
}
}
}
- Updating grunt/gruntplugin dependencies to rc6.
- Added travis.yml
- Added .jshintrc and jshint to Gruntfile.js
- Migrated documentation and Gruntfile.js to grunt-contrib standards
- Grunt >=0.4.0 only, MIGRATION REQUIRED if updating from 0.1.x
- Uses grunt-lib-phantomjs for easy PhantomJS installation!
- If things are not working right, try removing and installing via npm again.
- Config changes required
tasks/mocha/mocha-helper.js
has been moved tophantomjs/bridge.js
, if you are including it manually, you must change the path/filename- Task options are now nested in the
options
key per task/target
all: {
src: ['test.js'],
options: {
mocha: {
ui: 'tdd'
},
run: true
}
}
- Fix bad legacy mocha check for mocha < 1.4.2 (rohni)
- Add ability to pass mocha config options (grep, etc) via grunt task config. (gamtiq)
- Add option to not include
mocha-spec-helper.js
and auto-inject/run with therun
config option. Note: Still not required for AMD. This requires an if-statement in your HTML spec to check for PhantomJS environment, it's either that or include the helper. Seeexample/test2.html
. (gamtiq)
- Fix total duration when testing multiple html spec files in a single task. (chevalric)
- Critical fix: Compatibility with Mocha 1.4.2 (iammerick)
- If you use
mocha-helper.js
for non-AMD and you want to use Mocha >1.4.2, you replace it with the one in this update.
- If you use
- Remove grunt from deps
- Added example for non-AMD usage. Modified mocha-helper to be included in page (optional)
- Added duration
- Consistency
- Make growl optional
init