Skip to content

Latest commit

 

History

History
22 lines (12 loc) · 670 Bytes

File metadata and controls

22 lines (12 loc) · 670 Bytes

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:

appium

To compile and run all tests, run:

mvn test

To run a single test, run:

mvn -Dtest=com.saucelabs.appium.SimpleTest test

To run a single test on specific platform(android/ios)

mvn clean -Dtest=AndroidDragAndDrop test -Dplatform=android