Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 637 Bytes

testing.md

File metadata and controls

47 lines (30 loc) · 637 Bytes

Tests

Unit Tests

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.

E2E Tests

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 and GOOGLE_PASSWORD env variable