mvn clean test -Dtest=HttpBinTest
Appium: Install appium from npm
npm install -g appium
npm install -g appium-doctor
(check dependency for appium )
Android: (would need approx 2GiB of network data)
Download and Install Android Studio for mac : https://developer.android.com/studio#downloads
Setup ANDROID_HOME
in environment variables
you should be able to run CLI commands like sdkmanager
, emulator
, avdmanager
sdkmanager --update
sdkmanager --list
(can use any x86_64 image from this for download)
sdkmanager "system-images;android-27;default;x86_64"
(this downloads emulator for android Oreo)
avdmanager create avd -n <AVD_NAME> -k "system-images;android-27;default;x86_64" -g "default"
emulator -list-avds
appium-doctor
emulator -avd <AVD_NAME>
(to launch avd in emulator)
emulator -avd <AVD_NAME> -no-snapshot-load
(to launch avd in emulator with cold boot)
iOS: (would need approx 6GiB of network data)
Download and install xcode 9 or above from https://developer.apple.com/download/
need a apple developer id you can use your apple id for this.
xcrun simctl list device
appium-doctor
mvn clean test -Dtest=CalcUiRunner