- Install jasmine-node: https://github.com/mhevery/jasmine-node
- Add tests to tests folders
- Run
jasmine-node --matchall js/__tests__/to run all tests in that directory
- Install browserify:
sudo npm install -g browserify - Run
browserify js/application.js -o js/bundle.jsto build the latest Javascript bundle for the browser (Tests don't need this bundle).