Package | Version |
---|---|
npm | |
appium | |
@wdio/cli |
The purpose of this automation project is to guide you as an automated test for React Native distributions.
install Appium -> Appium
install SDK Android -> Android-Studio
install JDK -> Java
install Nodejs -> [nodejs] (https://nodejs.org/en/)
Validate the installation:
node -v
example:
$ v13.12.0
and
mpm -v
example:
$ 6.14.4
Setting JAVA_HOME
and ANDROID_HOME
on your local machine
validate
echo $JAVA_HOME
and
echo $ANDROID_HOME
Validate the full path
Run
yarn or npm install
Run Android tests (Real Device)
yarn run android.app
Run Android tests (Emulator)
yarn run android.emulator.app
Run iOS tests (Real Device)
yarn run ios.app
Run SauceLabs tests (Device Farm)
yarn run ios.sauce.rdc.app
or
yarn run android.sauce.rdc.app