This is a seed of Ionic 3 with TypeScript + Karma + Protractor + Appium
- Getting Started
- Run in browser
- Run in Android
- Run in iOS
- Run Unit tests
- Run E2E tests
- Run all tests
- Contribute
- Install Node.js (recommended: use nvm to install)
- Install the ionic CLI and Cordova CLI (
npm install -g ionic cordova) - Clone this repository
- Run
npm installfrom the project root - Use the commands below
# only works if no native APIs are being used
npm start # deploys the the browser# make sure the Android device/emulator is connected and available to ADB
npm run android # deploys the app to an Android device or emulator# make sure the iOS device is connected
npm run ios # deploys the app to an iOS device or simulatornpm run unittest # run unit tests on the browsernpm run appium # run start appium server
npm run e2e # in other terminal, run the e2e tests on the devicenpm run appium # run start appium server
npm test # in other terminal, run the unit tests on the browser and e2e tests on the deviceIssues and PRs are welcome, see the issues list.