Idea sharing app based on Ionic Framework
Install Ionic
If you don't have Ionic installed, instructions are available here.
Add your platform
$ ionic platform add ios
Run the app on browser
$ ionic serve
Run the app on device (or emulator)
$ ionic build ios
$ ionic run ios
Setting up Protractor
If you don't have Protractor setup yet, follow the instructions below:
-
Install protractor
npm install -g protractor
-
Install/update webdriver
webdriver-manager update
Running Protractor tests
-
Run webdriver
webdriver-manager start
-
cd into the folder containing the Protractor config file, which is
www/test/e2e/conf.js
-
Run the following command to execute all tests
protractor conf.js
-
Run individual tests suites with the following command
protractor conf.js --suite=<suite name>
Test suites are specified in conf.js
You can reach me via email at bcfchen@gmail.com