- Removed
mocha-debug(1)
, usemocha --debug
- Fixed CWD relative requires
- Fixed growl issue on windows [Raynos]
- Fixed: platform specific line endings [TooTallNate]
- Fixed: escape strings in HTML reporter. Closes #164
- Added support for IE{7,8} [guille]
- Changed: better browser nextTick implementation [guille]
- Added setZeroTimeout timeout for browser (nicer stack traces). Closes #153
- Added "view source" on hover for HTML reporter to make it obvious
- Changed: replace custom growl with growl lib
- Fixed duplicate reporting for HTML reporter. Closes #154
- Fixed silent hook errors in the HTML reporter. Closes #150
- Added: push node_modules directory onto module.paths for relative require Closes #93
- Added teamcity reporter [blindsey]
- Fixed: recover from uncaught exceptions for tests. Closes #94
- Fixed: only emit "test end" for uncaught within test, not hook
- Added support for test-specific timeouts via
this.timeout(0)
. Closes #134 - Added guillermo's client-side EventEmitter. Closes #132
- Added progress indicator to the HTML reporter
- Fixed slow browser tests. Closes #135
- Fixed "suite" color for light terminals
- Fixed
require()
leak spotted by [guillermo]
- Removed suite merging (for now)
- Added support for
window.onerror
[guillermo] - Fixed: clear timeout on uncaught exceptions. Closes #131 [guillermo]
- Added
mocha.css
to PHONY list. - Added
mocha.js
to PHONY list.
- Added: allow
done()
to be called with non-Error - Added: return Runner from
mocha.run()
. Closes #126 - Fixed: run afterEach even on failures. Closes #125
- Fixed clobbering of current runnable. Closes #121
- Fixed hook timeouts. Closes #120
- Fixed uncaught exceptions in hooks
- Fixed weird reporting when
err.message
is not present
- Fixed hook event emitter leak. Closes #117
- Fixed: export
Spec
constructor. Closes #116
- Added
-w, --watch
. Closes #72 - Added
--ignore-leaks
to ignore global leak checking - Added browser
?grep=pattern
support - Added
--globals <names>
to specify accepted globals. Closes #99 - Fixed
mocha-debug(1)
on some systems. Closes #232 - Fixed growl total, use
runner.total
- Added
--globals <names>
to specify accepted globals. Closes #99 - Fixed funky highlighting of messages. Closes #97
- Fixed
mocha-debug(1)
. Closes #232 - Fixed growl total, use runner.total
- Added
suiteSetup
andsuiteTeardown
to TDD interface [David Henderson] - Added growl icons. Closes #84
- Fixed coffee-script support
- Fixed: use
Runner#total
for accurate reporting
- Added
Hook
- Added
Runnable
- Changed:
Test
isRunnable
- Fixed global leak reporting in hooks
- Fixed: > 2 calls to done() only report the error once
- Fixed: clear timer on failure. Closes #80
- Fixed return on immediate async error. Closes #80
- Fixed: make mocha.opts whitespace less picky [kkaefer]
- Added
--interfaces
- Added
--reporters
- Added
-c, --colors
. Closes #69 - Fixed hook timeouts
- Added
-C, --no-colors
to explicitly disable - Added coffee-script support
- Fixed global leak detection due to Safari bind() change
- Fixed: escape html entities in Doc reporter
- Fixed: escape html entities in HTML reporter
- Fixed pending test support for HTML reporter. Closes #66
- Added
--timeout
second shorthand support, ex--timeout 3s
. - Fixed "test end" event for uncaughtExceptions. Closes #61
- Added travis CI support (needs enabling when public)
- Added preliminary browser support
- Added
make mocha.css
target. Closes #45 - Added stack trace to TAP errors. Closes #52
- Renamed tearDown to teardown. Closes #49
- Fixed: cascading hooksc. Closes #30
- Fixed some colors for non-tty
- Fixed errors thrown in sync test-cases due to nextTick
- Fixed Base.window.width... again give precedence to 0.6.x
- Added
doc
reporter. Closes #33 - Added suite merging. Closes #28
- Added TextMate bundle and
make tm
. Closes #20
- Fixed getWindowSize() for 0.4.x
- Added
-s, --slow <ms>
to specify "slow" test threshold - Added
mocha-debug(1)
- Added
mocha.opts
support. Closes #31 - Added: default [files] to test/*.js
- Added protection against multiple calls to
done()
. Closes #35 - Changed: bright yellow for slow Dot reporter tests
- Missed this one :)
- Initial release