mocha

☕️ simple, flexible, fun javascript test framework for node.js & the browser

MIT License

Downloads
32.7M
Stars
22.4K
Committers
555

Bot releases are hidden (Show)

mocha - v4.1.0

Published by boneskull almost 7 years ago

4.1.0 / 2017-12-28

This is mainly a "housekeeping" release.

Welcome @Bamieh and @xxczaki to the team!

🐛: Fixes

  • #2661: progress reporter now accepts reporter options (@canoztokmak)
  • #3142: xit in bdd interface now properly returns its Test object (@Bamieh)
  • #3075: Diffs now computed eagerly to avoid misinformation when reported (@abrady0)
  • #2745: --help will now help you even if you have a mocha.opts (@Zarel)

🎉 Enhancements

  • #2514: The --no-diff flag will completely disable diff output (@CapacitorSet)
  • #3058: All "setters" in Mocha's API are now also "getters" if called without arguments (@makepanic)

📖 Documentation

🔩 Other

mocha - v4.0.1

Published by boneskull about 7 years ago

4.0.1 / 2017-10-05

🐛 Fixes

mocha - v4.0.0

Published by boneskull about 7 years ago

4.0.0 / 2017-10-02

You might want to read this before filing a new bug! 😝

💥 Breaking Changes

For more info, please read this article.

Compatibility

  • #3016: Drop support for unmaintained versions of Node.js (@boneskull):
    • 0.10.x
    • 0.11.x
    • 0.12.x
    • iojs (any)
    • 5.x.x
  • #2979: Drop support for non-ES5-compliant browsers (@boneskull):
    • IE7
    • IE8
    • PhantomJS 1.x
  • #2615: Drop Bower support; old versions (3.x, etc.) will remain available (@ScottFreeCode, @boneskull)

Default Behavior

  • #2879: By default, Mocha will no longer force the process to exit once all tests complete. This means any test code (or code under test) which would normally prevent node from exiting will do so when run in Mocha. Supply the --exit flag to revert to pre-v4.0.0 behavior (@ScottFreeCode, @boneskull)

Reporter Output

👎 Deprecations

  • #2493: The --compilers command-line option is now soft-deprecated and will emit a warning on STDERR. Read this for more info and workarounds (@ScottFreeCode, @boneskull)

🎉 Enhancements

  • #2628: Allow override of default test suite name in XUnit reporter (@ngeor)

📖 Documentation

🔩 Other

mocha - v3.5.3

Published by boneskull about 7 years ago

3.5.3 / 2017-09-11

🐛 Fixes

  • #3003: Fix invalid entities in xUnit reporter first appearing in v3.5.1 (@jkrems)
mocha - v3.5.2

Published by boneskull about 7 years ago

3.5.2 / 2017-09-10

🐛 Fixes

mocha - v3.5.1

Published by boneskull about 7 years ago

3.5.1 / 2017-09-09

📰 News

  • 📣 Mocha is now sponsoring PDXNode! If you're in the Portland area, come check out the monthly talks and hack nights!

🐛 Fixes

  • #2997: Fix missing xit export for "require" interface (@solodynamo)
  • #2957: Fix unicode character handling in XUnit reporter failures (@jkrems)

🔩 Other

mocha - v3.5.0

Published by boneskull about 7 years ago

v3.5.0 / 2017-07-31

📰 News

  • Mocha now has a code of conduct (thanks @kungapal!).
  • Old issues and PRs are now being marked "stale" by Probot's "Stale" plugin. If an issue is marked as such, and you would like to see it remain open, simply add a new comment to the ticket or PR.
  • WARNING: Support for non-ES5-compliant environments will be dropped starting with version 4.0.0 of Mocha!

🔒 Security Fixes

🎉 Enhancements

  • #2696: Add --forbid-only and --forbid-pending flags. Use these in CI or hooks to ensure tests aren't accidentally being skipped! (@charlierudolph)
  • #2813: Support Node.js 8's --napi-modules flag (@jupp0r)

🔩 Other

mocha - fake-success

Published by dasilvacontin over 7 years ago

3.4.2 / 2017-05-24

🐛 Fixes

🔩 Other

mocha - Ohai CRLF...

Published by ScottFreeCode over 7 years ago

Fixed a publishing mishap with git's autocrlf settings.

mocha -

Published by ScottFreeCode over 7 years ago

Mocha is now moving to a quicker release schedule: when non-breaking changes are merged, a release should happen that week.

This week's highlights:

  • allowUncaught added to commandline as --allow-uncaught (and bugfixed)
  • warning-related Node flags

🎉 Enhancements

🐛 Fixes

🔩 Other

mocha - coverave

Published by dasilvacontin over 7 years ago

Thanks to all our contributors, maintainers, sponsors, and users! ❤️

As highlights:

  • We've got coverage now!
  • Testing is looking less flaky \o/.
  • No more nitpicking about "mocha.js" build on PRs.

🎉 Enhancements

  • #2659: Adds support for loading reporter from an absolute or relative path (@sul4bh)
  • #2769: Support --inspect-brk on command-line (@igwejk)

🐛 Fixes

  • #2662: Replace unicode chars w/ hex codes in HTML reporter (@rotemdan)

🔍 Coverage

🔩 Other

mocha - testing-coma

Published by boneskull almost 8 years ago

3.2.0 / 2016-11-24

📰 News

Mocha is now a JS Foundation Project!

Mocha is proud to have joined the JS Foundation. For more information, read the announcement.

Contributor License Agreement

Under the foundation, all contributors to Mocha must sign the JS Foundation CLA before their code can be merged. When sending a PR--if you have not already signed the CLA--a friendly bot will ask you to do so.

Mocha remains licensed under the MIT license.

🐛 Bug Fix

  • #2535: Fix crash when --watch encounters broken symlinks (@villesau)
  • #2593: Fix (old) regression; incorrect symbol shown in list reporter (@Aldaviva)
  • #2584: Fix potential error when running XUnit reporter (@vobujs)

🎉 Enhancement

🔩 Other

Thanks to all our contributors, sponsors and backers! Keep on the lookout for a public roadmap and new contribution guide coming soon.

mocha - sock-monkeypatch

Published by boneskull about 8 years ago

3.1.2 / 2016-10-10

🐛 Bug Fix

  • #2528: Recovery gracefully if an Error's stack property isn't writable ([@boneskull])
mocha - useless-box

Published by boneskull about 8 years ago

3.1.1 / 2016-10-09

🐛 Bug Fix

🔩 Other

  • #2490: Lint with semistandard config (@makepanic)
  • #2525: Lint all .js files ([@boneskull])
  • #2524: Provide workaround for developers unable to run browser tests on macOS Sierra ([@boneskull])
mocha - generative-donk

Published by boneskull about 8 years ago

3.1.0 / 2016-09-27

🎉 Enhancement

  • #2357: Support --inspect on command-line (@simov)
  • #2194: Human-friendly error if no files are matched on command-line (@Munter)
  • #1744: Human-friendly error if a Suite has no callback (BDD/TDD only) (@anton)

🐛 Bug Fix

  • #2488: Fix case in which variables beginning with lowercase "D" may not have been reported properly as global leaks (@JustATrick) 😆
  • #2465: Always halt execution in async function when this.skip() is called (@boneskull)
  • #2445: Exits with expected code 130 when SIGINT encountered; exit code can no longer rollover at 256 (@Munter)
  • #2315: Fix uncaught TypeError thrown from callback stack (@1999)
  • Fix broken only()/skip() in IE7/IE8 (@boneskull)
  • #2502: Fix broken stack trace filter on Node.js under Windows (@boneskull)
  • #2496: Fix diff output for objects instantiated with String constructor (more) (@boneskull)
mocha - v3.0.2

Published by boneskull about 8 years ago

mocha - v3.0.0-2 (beta)

Published by boneskull about 8 years ago

See #2350 and CHANGELOG.md in the v3.0.0 branch.

mocha - v3.0.0-1 (beta)

Published by boneskull over 8 years ago

See #2350 for more information.

mocha - v3.0.0-0 (beta)

Published by boneskull over 8 years ago

See #2350 for more information.