Unit Testing Node.JS With Mocha
My google research for "node js mocha tutorial"
1. Official web site for Mocha
simple, flexible, fun. Mocha is a feature-rich JavaScript test framework running on node.js and the browser, making2. Testing in Node.js - Tuts+ Code Tutorial
By: Gabriel Manricks
A test driven development TDD cycle simplifies the thought process of writing code, makes it easier, and quicker in the long run. But just writing tests is not enough by itself, knowing the kinds of tests to write and how to structure code to conform to this pattern is what it's all about. This article takes a look at building a small app in Node.js following a TDD pattern.
3. Test-Driven Development in Node.js With Mocha
Don’t waste time writing tests for throwaway scripts, but please adapt the habit of Test-Driven Development for the main code base. With a little time spent in the beginning, you and your team will save time later and have confidence when rolling out new releases. Test Driven Development is a really really really good thing.
4. Learn Mocha
By: Nelson
Quick Guide to mocha.js Test Driven Development (TDD) / Behaviour Driven Development (BDD) in node.js