Build your own TDD boilerplate project for JavaScript

Getting started with tests takes time because there are many small decisions to make. If you haven't gone through the whole setup and evolution more than once or twice, it's easy to get lost or just plain forget.

This post aims to walk through the creation of a TDD boilerplate project for re-use when driving your JavaScript tests. We'll set up the project to work with GitHub, node.js, mocha, rawgit, testem and travis. All steps were re-learned the hard way while I worked through my own where.js project in January-February 2014.

Special thanks to these wonderful people for their patient attention to detail and their marvelous feedback

Update: 25 NOV 2014 ~ links to rawgithub have been modified to point to the rawgit.com domain.

Read More