Mocha 2.0.1

One of the best testing frameworks for JavaScript code, working with both client-side (browsers) and server-side (Node.js) environments
Mocha - How a test page looks when done with Mocha
  1 Screenshot
Mocha was written to quickly execute asynchronous tests for JS code, allowing developers to detect and fix problems in their code.

The Mocha testing toolkit has managed to gain quite a following thanks to its heavily Node.js integration, accurate reporting style, well-organized results page and support for mapping uncaught exceptions to the appropriate line in the test cases.

Utilizing such a tool is very recommended by industry experts, mainly because it allows programmers a means to find and prevent bugs from reaching production environments.

Mocha is inspired by other open-source projects like: QUnit, JSpec (not supported anymore), and Expresso.

Main features:

  • Cross-browser tested
  • Cross-platform tested
  • Support for running async tests
  • Reports test coverage status
  • Reports test times
  • String diff support
  • Run tests in the console or in the browser
  • Maps exceptions to the correct test case
  • Timeout support
  • Growl and TextMate integration
  • Highlights test problems
  • File watcher support
  • Can detect global variable leaks
  • Can detect infinite loops
  • CoffeeScript support
  • Documentation
  • Examples

last updated on:
October 23rd, 2014, 14:01 GMT
license type:

MIT License

developed by:
TJ Holowaychuk
operating system(s):
Windows / Linux / Mac OS / BSD / Solaris
C: \ Development Tools \ Test Tools and Applications
Download Button

In a hurry? Add it to your Download Basket!

user rating 1



Rate it!
What's New in version 2.0.0
  • Removed:
  • Support for Node 0.6.x, 0.4.x
  • Fixes:
read full changelog

Add your review! 1 USER REVIEW SO FAR