Mocha

Basic setup for a Node.js-based TDD Code Kata

In the last post I suggested a minimal setup to begin with ruby-based TDD. In this post I want to show a possibile minimal setup for node.js-based TDD (node.js and npm must be installed). The kata will be again The Game of Life. I’m not an expert of Node.js, so I hope what I’m writing is correct :) I’ll use the test framework Mocha and expect.js, a “Minimalistic BDD-style assertions for Node. … »