Sample Appium JUnit project
This contains the source code for running sample Appium tests using JUnit.
In order to run the tests, you will need to install Apache Maven, and Appium (according to the Appium installation instructions.
You will then need to start appium, eg:
grunt appium
To compile and run all tests, run:
mvn clean test
To run a single test, run:
mvn -Dtest=appium.tutorial.android.AutomatingASimpleActionTest test
Reference 1. 2.