npm install
./gulp.sh
Run the Karma unit test runner continuously, useful for e.g. TDD
./node_modules/.bin/karma start
Run all the tests just once, useful for the last check before pushing
npm test
Run just the web tests
./gulp.sh protractor
Also the tests are run once on each build and every time a javascript source file is changed, when the development server is being run. At the moment gulp-karma
doesn't support failing the build, so failing tests do not fail the build, but will show on the terminal.