fmsouza / ionic3-seed-protractor

Ionic 3 + Karma + Protractor + Appium

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ionic 3 seed

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

Table of Contents

Getting Started

  • 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 install from the project root
  • Use the commands below

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.

About

Ionic 3 + Karma + Protractor + Appium

License:Apache License 2.0


Languages

Language:TypeScript 40.4%Language:JavaScript 25.3%Language:CSS 22.1%Language:HTML 12.2%