- add: unified diff (#862)
- add: set MOCHA_COLORS env var to use colors (#965)
- add: able to override tests links in html reporters (#776)
- remove: teamcity reporter (#954)
- update: commander dependency to 2.0.0 (#1010)
- fix: mocha --ui will try to require the ui if not built in, as --reporter does (#1022)
- fix: send cursor commands only if isatty (#184, #1003)
- fix: include assertion message in base reporter (#993, #991)
- fix: consistent return of it, it.only, and describe, describe.only (#840)
- add: sort test files with --sort (#813)
- update: diff depedency to 1.0.7
- update: glob dependency to 3.2.3 (#927)
- fix: diffs show whitespace differences (#976)
- fix: improve global leaks (#783)
- fix: firefox window.getInterface leak
- fix: accessing iframe via window[iframeIndex] leak
- fix: faster global leak checking
- fix: reporter pending css selector (#970)
- remove test.js from .gitignore
- update included version of ms.js
- add: prevent diffs for differing types. Closes #900
- add
Mocha.processhack for phantomjs - fix: use compilers with requires
- fix regexps in diffs. Closes #890
- fix xunit NaN on failure. Closes #894
- fix: strip tab indentation in
cleanutility method - fix: textmate bundle installation
- add --prof support
- add --harmony support
- add --harmony-generators support
- add "Uncaught " prefix to uncaught exceptions
- add web workers support
- add
suite.skip() - change to output # of pending / passing even on failures. Closes #872
- fix: prevent hooks from being called if we are bailing
- fix
this.timeout(0)
- add add better globbing support for windows via
globmodule - add support to pass through flags such as --debug-brk=1234. Closes #852
- add test.only, test.skip to qunit interface
- change to always use word-based diffs for now. Closes #733
- change
mocha inittests.html to index.html - fix
processglobal leak in the browser - fix: use resolve() instead of join() for --require
- fix: filterLeaks() condition to not consider indices in global object as leaks
- fix: restrict mocha.css styling to #mocha id
- fix: save timer references to avoid Sinon interfering in the browser build.
- add improved setImmediate implementation
- replace --ignore-leaks with --check-leaks
- change default of ignoreLeaks to true. Closes #791
- remove scrolling for HTML reporter
- fix retina support
- fix tmbundle, restrict to js scope
- add
setImmediatesupport for 0.10.x - fix mocha -w spinner on windows
- fix .bail() arity check causing it to default to true
- add Mocha() options bail support
- add
Mocha#bail()method - add instanceof check back for inheriting from Error
- add component.json
- add diff.js to browser build
- update growl
- fix TAP reporter failures comment :D
- add total number of passes and failures to TAP
- remove .bind() calls. re #680
- fix indexOf. Closes #680
- fix uncaught error support for the browser
- revert uncaught "fix" which breaks node
- fix uncaught errors to expose the original error message
- add
--async-onlysupport to prevent false positives for missingdone() - add sorting by filename in code coverage
- add HTML 5 doctype to browser template.
- add play button to html reporter to rerun a single test
- add
this.timeout(ms)as Suite#timeout(ms). Closes #599 - update growl dependency to 1.6.x
- fix encoding of test-case ?grep. Closes #637
- fix unicode chars on windows
- fix dom globals in Opera/IE. Closes #243
- fix markdown reporter a tags
- fix
this.timeout("5s")support
- add object diffs when
err.showDiffis present - add hiding of empty suites when pass/failures are toggled
- add faster
.lengthchecks tocheckGlobals()before performing the filter
- add
ms()to.slow()and.timeout() - add
Mocha#checkLeaks()to re-enable global leak checks - add
this.slow()option [aheckmann] - add tab, CR, LF to error diffs for now
- add faster
.checkGlobals()solution [guille] - remove
fn.call()from reduce util - remove
fn.call()from filter util - fix forEach. Closes #582
- fix relaying of signals [TooTallNate]
- fix TAP reporter grep number
- add support to multiple
Mocha#globals()calls, and strings - add
mocha.reporter()constructor support [jfirebaugh] - add
mocha.timeout() - move query-string parser to utils.js
- move highlight code to utils.js
- fix third-party reporter support [exogen]
- fix client-side API to match node-side [jfirebaugh]
- fix mocha in iframe [joliss]
- add missing
Markdownexport - fix
Mocha#grep(), escape regexp strings - fix reference error when
devicePixelRatiois not defined. Closes #549
- add mkdir -p to
mocha init. Closes #539 - add
.only(). Closes #524 - add
.skip(). Closes #524 - change str.trim() to use utils.trim(). Closes #533
- fix HTML progress indicator retina display
- fix url-encoding of click-to-grep HTML functionality
- fix exports double-execution regression. Closes #531
- add passes/failures toggling to HTML reporter
- add pending state to
xit()andxdescribe()[Brian Moore] - add the @charset "UTF-8"; to fix #522 with FireFox. [Jonathan Creamer]
- add border-bottom to #stats links
- add check for runnable in
Runner#uncaught(). Closes #494 - add 0.4 and 0.6 back to travis.yml
- add
-E, --growl-errorsto growl on failures only - add prefixes to debug() names. Closes #497
- add
Mocha#invert()to js api - change dot reporter to use sexy unicode dots
- fix error when clicking pending test in HTML reporter
- fix
make tm
- add window scrolling to
HTMLreporter - add v8
--trace-*option support - add support for custom reports via
--reporter MODULE - add
--invertswitch to invert--grepmatches - fix export of
Nyanreporter. Closes #495 - fix escaping of
HTMLsuite titles. Closes #486 - fix
done()called multiple times with an error test - change
--grep- regexp escape the input
- Added 0.8.0 support
- Added
this.test.error(err)support to after each hooks. Closes #287 - Added: export top-level suite on global mocha object (mocha.suite). Closes #448
- Fixed
jscode block format error in markdown reporter - Fixed deprecation warning when using
path.existsSync - Fixed --globals with wildcard
- Fixed chars in nyan when his head moves back
- Remove
--growlfrom test/mocha.opts. Closes #289
- Added
nyanreporter [Atsuya Takagi] - Added
mocha init <path>to copy client files - Added "specify" synonym for "it" [domenic]
- Added global leak wildcard support [nathanbowser]
- Fixed runner emitter leak. closes #432
- Fixed omission of .js extension. Closes #454
- Added: check each
mocha(1)arg for directories to walk - Added
--recursive[tricknotes] - Added
contextfor BDD [hokaccha] - Added styling for new clickable titles
- Added clickable suite titles to HTML reporter
- Added warning when strings are thrown as errors
- Changed: green arrows again in HTML reporter styling
- Changed ul/li elements instead of divs for better copy-and-pasting [joliss]
- Fixed issue #325 - add better grep support to js api
- Fixed: save timer references to avoid Sinon interfering.
- Fixed string diff newlines
- Fixed: removed mocha.css target. Closes #401
- Added HTML reporter duration. Closes #47
- Fixed: one postMessage event listener [exogen]
- Fixed: allow --globals to be used multiple times. Closes #100 [brendannee]
- Fixed #158: removes jquery include from browser tests
- Fixed grep. Closes #372 [brendannee]
- Fixed #166 - When grepping don't display the empty suites
- Removed test/browser/style.css. Closes #385
- Fixed
.timeout()in hooks - Fixed: allow callback for
mocha.run()in client version - Fixed browser hook error display. Closes #361
- Added js API. Closes #265
- Added: initial run of tests with
--watch. Closes #345 - Added: mark
locationas a global on the CS. Closes #311 - Added
markdownreporter (github flavour) - Added: scrolling menu to coverage.html. Closes #335
- Added source line to html report for Safari [Tyson Tate]
- Added "min" reporter, useful for
--watch[Jakub Nešetřil] - Added support for arbitrary compilers via . Closes #338 [Ian Young]
- Added Teamcity export to lib/reporters/index [Michael Riley]
- Fixed chopping of first char in error reporting. Closes #334 [reported by topfunky]
- Fixed terrible FF / Opera stack traces
- Added lib-cov to .npmignore
- Added reporter to
mocha.run([reporter])as argument - Added some margin-top to the HTML reporter
- Removed jQuery dependency
- Fixed
--watch: purge require cache. Closes #266
- Added string diff support for terminal reporters
- Added preliminary test coverage support. Closes #5
- Added
HTMLCovreporter - Added
JSONCovreporter [kunklejr] - Added
xdescribe()andxit()to the BDD interface. Closes #263 (docs * Changed: make json reporter output pretty json - Fixed node-inspector support, swapped
--debugfordebugto match node. needed) Closes #247
- Added
npm docs mochasupport [TooTallNate] - Added a
Contextobject used for hook and test-case this. Closes #253 - Fixed
Suite#clone().ctxreference. Closes #262
- Added .coffee
--watchsupport. Closes #242 - Added support to
--requirefiles relative to the CWD. Closes #241 - Added quick n dirty syntax highlighting. Closes #248
- Changed: made HTML progress indicator smaller
- Fixed xunit errors attribute [dhendo]
- Fixed suite count in reporter stats. Closes #222
- Fixed
done()after timeout error reporting [Phil Sung] - Changed the 0-based errors to 1
- Added support for node 0.7.x
- Fixed absolute path support. Closes #215 [kompiro]
- Fixed
--no-colorsoption [Jussi Virtanen] - Fixed Arial CSS typo in the correct file
- Added
-b, --bailto exit on first exception [guillermo] - Added support for
-gc/--expose-gc[TooTallNate] - Added
qunit-inspired interface - Added MIT LICENSE. Closes #194
- Added:
--watchall .js in the CWD. Closes #139 - Fixed
self.testreference in runner. Closes #189 - Fixed double reporting of uncaught exceptions after timeout. Closes #195
- Added test-case context support. Closes #113
- Fixed exit status. Closes #187
- Update commander. Closes #190
- Fixed reporting of uncaught exceptions. Closes #183
- Fixed error message defaulting [indutny]
- Changed mocha(1) from bash to node for windows [Nathan Rajlich]
- Added
XUnitreporter [FeeFighters/visionmedia] - Added
say(1)notification support [Maciej Małecki] - Changed: fail when done() is invoked with a non-Error. Closes #171
- Fixed
err.stack, defaulting to message. Closes #180 - Fixed:
make tmmkdir -p the dest. Closes #137 - Fixed mocha(1) --help bin name
- Fixed
-dfor--debugsupport
- 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.cssto PHONY list. - Added
mocha.jsto 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.messageis not present
- Fixed hook event emitter leak. Closes #117
- Fixed: export
Specconstructor. Closes #116
- Added
-w, --watch. Closes #72 - Added
--ignore-leaksto ignore global leak checking - Added browser
?grep=patternsupport - 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
suiteSetupandsuiteTeardownto TDD interface [David Henderson] - Added growl icons. Closes #84
- Fixed coffee-script support
- Fixed: use
Runner#totalfor accurate reporting
- Added
Hook - Added
Runnable - Changed:
TestisRunnable - 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-colorsto 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
--timeoutsecond 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.csstarget. 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
docreporter. 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.optssupport. 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