Tipping Service
The minimum requirement by this project is Java version: >= 8
Set up the following in your path:
- ANDROID_HOME (path to your android sdk directory)
- JAVA_HOME (path to your Java JDK home directory)
- MAVEN_HOME (path to the bin folder of the extracted apache maven folder)
Ensure the above path variables are added to your .bash_profile
Run command
source .bash_profile
npm i -g appium
mvn clean install -DskipTests=true
Change test port to Appium port of your choosing in src/test/java/tests/BaseTest.java file
Run command below with the port in the BaseTest file
appium -p <port>
Change path of apk in src/test/java/tests/BaseTest.java file to the path of the apk in the main directory of the project.
Open a working directory of the project in a new terminal.
Connect a USB Debugging enabled android device to your test system.
Run the command below
mvn test