fmsouza / ionic3-seed-protractor

Ionic 3 + Karma + Protractor + Appium
Apache License 2.0
20 stars 7 forks source link

Ionic 3 seed

This is a seed of Ionic 3 with TypeScript + Karma + Protractor + Appium

Table of Contents

Getting Started

Run in browser

# only works if no native APIs are being used

npm start         # deploys the the browser

Run in Android

# make sure the Android device/emulator is connected and available to ADB

npm run android   # deploys the app to an Android device or emulator

Run in iOS

# make sure the iOS device is connected

npm run ios       # deploys the app to an iOS device or simulator

Run Unit tests

npm run unittest  # run unit tests on the browser

Run E2E tests

npm run appium    # run start appium server
npm run e2e       # in other terminal, run the e2e tests on the device

Run all tests

npm run appium    # run start appium server
npm test          # in other terminal, run the unit tests on the browser and e2e tests on the device

Contribute

Issues and PRs are welcome, see the issues list.