5 * add: unified diff (#862)
6 * add: set MOCHA_COLORS env var to use colors (#965)
7 * add: able to override tests links in html reporters (#776)
8 * remove: teamcity reporter (#954)
9 * update: commander dependency to 2.0.0 (#1010)
10 * fix: mocha --ui will try to require the ui if not built in, as --reporter does (#1022)
11 * fix: send cursor commands only if isatty (#184, #1003)
12 * fix: include assertion message in base reporter (#993, #991)
13 * fix: consistent return of it, it.only, and describe, describe.only (#840)
18 * add: sort test files with --sort (#813)
19 * update: diff depedency to 1.0.7
20 * update: glob dependency to 3.2.3 (#927)
21 * fix: diffs show whitespace differences (#976)
22 * fix: improve global leaks (#783)
23 * fix: firefox window.getInterface leak
24 * fix: accessing iframe via window[iframeIndex] leak
25 * fix: faster global leak checking
26 * fix: reporter pending css selector (#970)
31 * remove test.js from .gitignore
32 * update included version of ms.js
37 * add: prevent diffs for differing types. Closes #900
38 * add `Mocha.process` hack for phantomjs
39 * fix: use compilers with requires
40 * fix regexps in diffs. Closes #890
41 * fix xunit NaN on failure. Closes #894
42 * fix: strip tab indentation in `clean` utility method
43 * fix: textmate bundle installation
49 * add --harmony support
50 * add --harmony-generators support
51 * add "Uncaught " prefix to uncaught exceptions
52 * add web workers support
54 * change to output # of pending / passing even on failures. Closes #872
55 * fix: prevent hooks from being called if we are bailing
56 * fix `this.timeout(0)`
61 * add add better globbing support for windows via `glob` module
62 * add support to pass through flags such as --debug-brk=1234. Closes #852
63 * add test.only, test.skip to qunit interface
64 * change to always use word-based diffs for now. Closes #733
65 * change `mocha init` tests.html to index.html
66 * fix `process` global leak in the browser
67 * fix: use resolve() instead of join() for --require
68 * fix: filterLeaks() condition to not consider indices in global object as leaks
69 * fix: restrict mocha.css styling to #mocha id
70 * fix: save timer references to avoid Sinon interfering in the browser build.
75 * add improved setImmediate implementation
76 * replace --ignore-leaks with --check-leaks
77 * change default of ignoreLeaks to true. Closes #791
78 * remove scrolling for HTML reporter
80 * fix tmbundle, restrict to js scope
85 * add `setImmediate` support for 0.10.x
86 * fix mocha -w spinner on windows
91 * fix .bail() arity check causing it to default to true
96 * add Mocha() options bail support
97 * add `Mocha#bail()` method
98 * add instanceof check back for inheriting from Error
100 * add diff.js to browser build
102 * fix TAP reporter failures comment :D
107 * add total number of passes and failures to TAP
108 * remove .bind() calls. re #680
109 * fix indexOf. Closes #680
114 * fix uncaught error support for the browser
115 * revert uncaught "fix" which breaks node
120 * fix uncaught errors to expose the original error message
125 * add `--async-only` support to prevent false positives for missing `done()`
126 * add sorting by filename in code coverage
127 * add HTML 5 doctype to browser template.
128 * add play button to html reporter to rerun a single test
129 * add `this.timeout(ms)` as Suite#timeout(ms). Closes #599
130 * update growl dependency to 1.6.x
131 * fix encoding of test-case ?grep. Closes #637
132 * fix unicode chars on windows
133 * fix dom globals in Opera/IE. Closes #243
134 * fix markdown reporter a tags
135 * fix `this.timeout("5s")` support
140 * add object diffs when `err.showDiff` is present
141 * add hiding of empty suites when pass/failures are toggled
142 * add faster `.length` checks to `checkGlobals()` before performing the filter
147 * add `ms()` to `.slow()` and `.timeout()`
148 * add `Mocha#checkLeaks()` to re-enable global leak checks
149 * add `this.slow()` option [aheckmann]
150 * add tab, CR, LF to error diffs for now
151 * add faster `.checkGlobals()` solution [guille]
152 * remove `fn.call()` from reduce util
153 * remove `fn.call()` from filter util
154 * fix forEach. Closes #582
155 * fix relaying of signals [TooTallNate]
156 * fix TAP reporter grep number
161 * add support to multiple `Mocha#globals()` calls, and strings
162 * add `mocha.reporter()` constructor support [jfirebaugh]
163 * add `mocha.timeout()`
164 * move query-string parser to utils.js
165 * move highlight code to utils.js
166 * fix third-party reporter support [exogen]
167 * fix client-side API to match node-side [jfirebaugh]
168 * fix mocha in iframe [joliss]
173 * add missing `Markdown` export
174 * fix `Mocha#grep()`, escape regexp strings
175 * fix reference error when `devicePixelRatio` is not defined. Closes #549
180 * add mkdir -p to `mocha init`. Closes #539
181 * add `.only()`. Closes #524
182 * add `.skip()`. Closes #524
183 * change str.trim() to use utils.trim(). Closes #533
184 * fix HTML progress indicator retina display
185 * fix url-encoding of click-to-grep HTML functionality
190 * fix exports double-execution regression. Closes #531
195 * add passes/failures toggling to HTML reporter
196 * add pending state to `xit()` and `xdescribe()` [Brian Moore]
197 * add the @charset "UTF-8"; to fix #522 with FireFox. [Jonathan Creamer]
198 * add border-bottom to #stats links
199 * add check for runnable in `Runner#uncaught()`. Closes #494
200 * add 0.4 and 0.6 back to travis.yml
201 * add `-E, --growl-errors` to growl on failures only
202 * add prefixes to debug() names. Closes #497
203 * add `Mocha#invert()` to js api
204 * change dot reporter to use sexy unicode dots
205 * fix error when clicking pending test in HTML reporter
211 * add window scrolling to `HTML` reporter
212 * add v8 `--trace-*` option support
213 * add support for custom reports via `--reporter MODULE`
214 * add `--invert` switch to invert `--grep` matches
215 * fix export of `Nyan` reporter. Closes #495
216 * fix escaping of `HTML` suite titles. Closes #486
217 * fix `done()` called multiple times with an error test
218 * change `--grep` - regexp escape the input
223 * Added 0.8.0 support
228 * Added `this.test.error(err)` support to after each hooks. Closes #287
229 * Added: export top-level suite on global mocha object (mocha.suite). Closes #448
230 * Fixed `js` code block format error in markdown reporter
231 * Fixed deprecation warning when using `path.existsSync`
232 * Fixed --globals with wildcard
233 * Fixed chars in nyan when his head moves back
234 * Remove `--growl` from test/mocha.opts. Closes #289
239 * Added `nyan` reporter [Atsuya Takagi]
240 * Added `mocha init <path>` to copy client files
241 * Added "specify" synonym for "it" [domenic]
242 * Added global leak wildcard support [nathanbowser]
243 * Fixed runner emitter leak. closes #432
244 * Fixed omission of .js extension. Closes #454
249 * Added: check each `mocha(1)` arg for directories to walk
250 * Added `--recursive` [tricknotes]
251 * Added `context` for BDD [hokaccha]
252 * Added styling for new clickable titles
253 * Added clickable suite titles to HTML reporter
254 * Added warning when strings are thrown as errors
255 * Changed: green arrows again in HTML reporter styling
256 * Changed ul/li elements instead of divs for better copy-and-pasting [joliss]
257 * Fixed issue #325 - add better grep support to js api
258 * Fixed: save timer references to avoid Sinon interfering.
263 * Fixed string diff newlines
264 * Fixed: removed mocha.css target. Closes #401
269 * Added HTML reporter duration. Closes #47
270 * Fixed: one postMessage event listener [exogen]
271 * Fixed: allow --globals to be used multiple times. Closes #100 [brendannee]
272 * Fixed #158: removes jquery include from browser tests
273 * Fixed grep. Closes #372 [brendannee]
274 * Fixed #166 - When grepping don't display the empty suites
275 * Removed test/browser/style.css. Closes #385
280 * Fixed `.timeout()` in hooks
281 * Fixed: allow callback for `mocha.run()` in client version
282 * Fixed browser hook error display. Closes #361
287 * Added js API. Closes #265
288 * Added: initial run of tests with `--watch`. Closes #345
289 * Added: mark `location` as a global on the CS. Closes #311
290 * Added `markdown` reporter (github flavour)
291 * Added: scrolling menu to coverage.html. Closes #335
292 * Added source line to html report for Safari [Tyson Tate]
293 * Added "min" reporter, useful for `--watch` [Jakub NeĆĄetĆil]
294 * Added support for arbitrary compilers via . Closes #338 [Ian Young]
295 * Added Teamcity export to lib/reporters/index [Michael Riley]
296 * Fixed chopping of first char in error reporting. Closes #334 [reported by topfunky]
297 * Fixed terrible FF / Opera stack traces
302 * Added lib-cov to _.npmignore_
303 * Added reporter to `mocha.run([reporter])` as argument
304 * Added some margin-top to the HTML reporter
305 * Removed jQuery dependency
306 * Fixed `--watch`: purge require cache. Closes #266
311 * Added string diff support for terminal reporters
316 * Added preliminary test coverage support. Closes #5
317 * Added `HTMLCov` reporter
318 * Added `JSONCov` reporter [kunklejr]
319 * Added `xdescribe()` and `xit()` to the BDD interface. Closes #263 (docs * Changed: make json reporter output pretty json
320 * Fixed node-inspector support, swapped `--debug` for `debug` to match node.
327 * Added `npm docs mocha` support [TooTallNate]
328 * Added a `Context` object used for hook and test-case this. Closes #253
329 * Fixed `Suite#clone()` `.ctx` reference. Closes #262
334 * Added .coffee `--watch` support. Closes #242
335 * Added support to `--require` files relative to the CWD. Closes #241
336 * Added quick n dirty syntax highlighting. Closes #248
337 * Changed: made HTML progress indicator smaller
338 * Fixed xunit errors attribute [dhendo]
343 * Fixed suite count in reporter stats. Closes #222
344 * Fixed `done()` after timeout error reporting [Phil Sung]
345 * Changed the 0-based errors to 1
350 * Added support for node 0.7.x
351 * Fixed absolute path support. Closes #215 [kompiro]
352 * Fixed `--no-colors` option [Jussi Virtanen]
353 * Fixed Arial CSS typo in the correct file
358 * Added `-b, --bail` to exit on first exception [guillermo]
359 * Added support for `-gc` / `--expose-gc` [TooTallNate]
360 * Added `qunit`-inspired interface
361 * Added MIT LICENSE. Closes #194
362 * Added: `--watch` all .js in the CWD. Closes #139
363 * Fixed `self.test` reference in runner. Closes #189
364 * Fixed double reporting of uncaught exceptions after timeout. Closes #195
369 * Added test-case context support. Closes #113
370 * Fixed exit status. Closes #187
371 * Update commander. Closes #190
376 * Fixed reporting of uncaught exceptions. Closes #183
377 * Fixed error message defaulting [indutny]
378 * Changed mocha(1) from bash to node for windows [Nathan Rajlich]
383 * Added `XUnit` reporter [FeeFighters/visionmedia]
384 * Added `say(1)` notification support [Maciej MaĆecki]
385 * Changed: fail when done() is invoked with a non-Error. Closes #171
386 * Fixed `err.stack`, defaulting to message. Closes #180
387 * Fixed: `make tm` mkdir -p the dest. Closes #137
388 * Fixed mocha(1) --help bin name
389 * Fixed `-d` for `--debug` support
394 * Removed `mocha-debug(1)`, use `mocha --debug`
395 * Fixed CWD relative requires
396 * Fixed growl issue on windows [Raynos]
397 * Fixed: platform specific line endings [TooTallNate]
398 * Fixed: escape strings in HTML reporter. Closes #164
403 * Added support for IE{7,8} [guille]
404 * Changed: better browser nextTick implementation [guille]
409 * Added setZeroTimeout timeout for browser (nicer stack traces). Closes #153
410 * Added "view source" on hover for HTML reporter to make it obvious
411 * Changed: replace custom growl with growl lib
412 * Fixed duplicate reporting for HTML reporter. Closes #154
413 * Fixed silent hook errors in the HTML reporter. Closes #150
418 * Added: push node_modules directory onto module.paths for relative require Closes #93
419 * Added teamcity reporter [blindsey]
420 * Fixed: recover from uncaught exceptions for tests. Closes #94
421 * Fixed: only emit "test end" for uncaught within test, not hook
426 * Added support for test-specific timeouts via `this.timeout(0)`. Closes #134
427 * Added guillermo's client-side EventEmitter. Closes #132
428 * Added progress indicator to the HTML reporter
429 * Fixed slow browser tests. Closes #135
430 * Fixed "suite" color for light terminals
431 * Fixed `require()` leak spotted by [guillermo]
436 * Removed suite merging (for now)
441 * Added support for `window.onerror` [guillermo]
442 * Fixed: clear timeout on uncaught exceptions. Closes #131 [guillermo]
443 * Added `mocha.css` to PHONY list.
444 * Added `mocha.js` to PHONY list.
449 * Added: allow `done()` to be called with non-Error
450 * Added: return Runner from `mocha.run()`. Closes #126
451 * Fixed: run afterEach even on failures. Closes #125
452 * Fixed clobbering of current runnable. Closes #121
457 * Fixed hook timeouts. Closes #120
458 * Fixed uncaught exceptions in hooks
463 * Fixed weird reporting when `err.message` is not present
468 * Fixed hook event emitter leak. Closes #117
469 * Fixed: export `Spec` constructor. Closes #116
474 * Added `-w, --watch`. Closes #72
475 * Added `--ignore-leaks` to ignore global leak checking
476 * Added browser `?grep=pattern` support
477 * Added `--globals <names>` to specify accepted globals. Closes #99
478 * Fixed `mocha-debug(1)` on some systems. Closes #232
479 * Fixed growl total, use `runner.total`
484 * Added `--globals <names>` to specify accepted globals. Closes #99
485 * Fixed funky highlighting of messages. Closes #97
486 * Fixed `mocha-debug(1)`. Closes #232
487 * Fixed growl total, use runner.total
492 * Added `suiteSetup` and `suiteTeardown` to TDD interface [David Henderson]
493 * Added growl icons. Closes #84
494 * Fixed coffee-script support
499 * Fixed: use `Runner#total` for accurate reporting
506 * Changed: `Test` is `Runnable`
507 * Fixed global leak reporting in hooks
508 * Fixed: > 2 calls to done() only report the error once
509 * Fixed: clear timer on failure. Closes #80
514 * Fixed return on immediate async error. Closes #80
519 * Fixed: make mocha.opts whitespace less picky [kkaefer]
524 * Added `--interfaces`
525 * Added `--reporters`
526 * Added `-c, --colors`. Closes #69
527 * Fixed hook timeouts
532 * Added `-C, --no-colors` to explicitly disable
533 * Added coffee-script support
538 * Fixed global leak detection due to Safari bind() change
539 * Fixed: escape html entities in Doc reporter
540 * Fixed: escape html entities in HTML reporter
541 * Fixed pending test support for HTML reporter. Closes #66
546 * Added `--timeout` second shorthand support, ex `--timeout 3s`.
547 * Fixed "test end" event for uncaughtExceptions. Closes #61
549 0.0.1-alpha6 / 2011-11-19
552 * Added travis CI support (needs enabling when public)
553 * Added preliminary browser support
554 * Added `make mocha.css` target. Closes #45
555 * Added stack trace to TAP errors. Closes #52
556 * Renamed tearDown to teardown. Closes #49
557 * Fixed: cascading hooksc. Closes #30
558 * Fixed some colors for non-tty
559 * Fixed errors thrown in sync test-cases due to nextTick
560 * Fixed Base.window.width... again give precedence to 0.6.x
562 0.0.1-alpha5 / 2011-11-17
565 * Added `doc` reporter. Closes #33
566 * Added suite merging. Closes #28
567 * Added TextMate bundle and `make tm`. Closes #20
569 0.0.1-alpha4 / 2011-11-15
572 * Fixed getWindowSize() for 0.4.x
574 0.0.1-alpha3 / 2011-11-15
577 * Added `-s, --slow <ms>` to specify "slow" test threshold
578 * Added `mocha-debug(1)`
579 * Added `mocha.opts` support. Closes #31
580 * Added: default [files] to _test/*.js_
581 * Added protection against multiple calls to `done()`. Closes #35
582 * Changed: bright yellow for slow Dot reporter tests
584 0.0.1-alpha1 / 2011-11-08
589 0.0.1-alpha1 / 2011-11-08