0.2.0 • Published 12 years ago

mocha-koans-reporter v0.2.0

Weekly downloads
3
License
-
Repository
-
Last release
12 years ago

mocha-koans-reporter

A reporter for mocha to simplify the creation of JavaScript koans.

Heavily inspired by and modelled on the New Context Ruby Koans.

Pre-requisities

Install

npm install -g mocha-koans-reporter

Usage

Run with a suite of mocha tests:

mocha -R mocha-koans-reporter -b [test-directory]

It is important to use the -b flag to bail on the first failure, as is the style for koans.