A simple boilerplate project to demonstrate JavaScript unit testing AMD modules with Mocha, Chai, Sinon.JS and Grunt.
- Install Node.js
- Install Grunt -
sudo npm install -g grunt-cli
- Install JamJS -
sudo npm install -g jamjs
- Install Yeti -
sudo npm install -g yeti
- Install local Node modules -
npm install
- Install local Jam modules -
jam install
Run Grunt - grunt mocha
Open test-runner.html
in any web browser.
Run Yeti - yeti