Heavily inspired by and modelled on the New Context Ruby Koans.
npm install -g mocha-koans-reporter
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.