Mocha Bootstrap demonstrates how to create Mocha tests with Require.js and Node.js. There was precious little documentation on how to get this done, so I figured out how to do it through sheer will and determination.
Install mocha-bootstrap
git clone git://github.com/clubajax/mocha-bootstrap.git mocha-bootstrap
Install dependencies
$ cd mocha-bootstrap
$ npm install
Run browser version:
localhost/mocha-bootstrap/index.html
Run node version:
$ node node_runner
This package may be used without restriction, and is released under the same licensing as Dojo, where applicable.