WebAppers

/ best free open source web resources /

Graphic Resources

A Feature-Rich JavaScript Test Framework on Node

Posted · Category: Code, MIT License, Tools

Mocha is a feature-rich JavaScript test framework running on node and the browser, making asynchronous testing simple and fun. Mocha tests run serially, allowing for flexible and accurate reporting, while mapping uncaught exceptions to the correct test cases.

When testing synchronous code, omit the callback and Mocha will automatically continue on to the next test. Testing asynchronous code with Mocha could not be simpler. Simply invoke the callback when your test is complete.

node-testing

Requirements: Node.js
Demo: http://visionmedia.github.com/mocha/
License: MIT License

0 Comments
Supported By

Deals

Web Browsers Icon Set
Food Icon Set
Flat Icon Set

Flat Icon Set

100 icons