jayway/maven-android-plugin — pull request #185 by stephanenicolas (2013-03-08 19:31:46+00:00)
Title: UI Automator goal

Hi all,

here is a pull request to add a ui automator goal to launch UI tests on android.

Can execute tests using ui uiautomator.

Implements parsing parameters from pom or command line arguments and sets useful defaults as well. This goal is meant to execute a special _java project_ dedicated to UI testing via UIAutomator. It will build the jar of the project, dex it and send it to dalvik cache of a rooted device or to an emulator. If you use a rooted device, refer to this thread on stack over flow.

The tests are executed via ui automator. A surefire compatible test report can be generated and its location will be logged during build.

To use this goal, you will need to place the uiautomator.jar file (part of the Android SDK > 16) on a nexus repository.

A typical usage of this goal can be found at Quality tools for Android project.

see Android UI testing doc
see UI Automator manual page