Install bower dependencies:
bower i
Install karma (test runner) and phantomjs:
npm install -g karma-cli phantomjs
And run by doing:
karma start
By default it runs on PhantomJS but more browsers can be added to the karma.conf.js.
In order to run the e2e tests:
Install node modules:
npm i
Download Chrome webdriver:
./node_modules/.bin/webdriver-manager --standalone --chrome update
Run the tests:
grunt scenario
Note: for Google test you have to specify
GOOGLE_USER
andGOOGLE_PASSWORD
env variable