mocha-koans-reporter
v0.2.0
Published
A Mocha reporter to allow creation of JavaScript koans for learning enlightenment
Downloads
6
Readme
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.