Node.js Functional Testing with Mocha
In this blog post, Francois Zaninotto provides an detailed explanation on how to do functional testing for Node.js using the Mocha open source software testing framework. Mocha is a feature-rich JavaScript test framework running on node.js and the browser. Mocha tests run serially, allowing for flexible and accurate reporting, while mapping uncaught exceptions to the correct test cases.