An example of how to get up and running with TDD for your JavaScript using Mocha, Should and CoffeeScript
CoffeeScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
Makefile
README.md
index.coffee
package.json

README.md

Start Testing Your JavaScript Fast

An example project with Mocha, Should and CoffeeScript set up and ready to roll.

This project was originally built as a reference on my blog - "Start Testing Your JavaScript Fast"

Setup

  • Clone the repository
  • Run npm install within the directory
  • Open directory up in your text editor of choice
  • Run make test-watch
  • Commence TDD
  • ...?
  • Profit