Starter app structure for projects using AngularJS + RequireJS.
Based on angular Best Practices published the 13th Feb. 2014 on AngularBlog
bower install
npm install
then
webdriver-manager update
###1. Start webserver:
scripts/web-server.js
or if you're feeling lazy
npm start
###2. Open browser and go to:
http://localhost:8000/e2e/index.html
###1. Unit tests
scripts/unit-tests.sh
or
npm run-script unit
###2. e2e tests
Start webserver:
scripts/web-server.js
or if you're feeling lazy
npm start
Start selenium server (in another terminal):
webdriver-manager start
Then, in another terminal:
scripts/e2e-tests.sh
or
npm run-script e2e
Important: Don't move the mouse during the e2e tests, otherwise some will fail!
make build
Library is built into dist/