Android Example Maven Project
This project has tests running on Travis CI. See this blog post for an in-depth description.
Note: This example may be outdated, and could probably be simplified. Check out the official samples for more up-to-date examples.
Also consider the new Gradle-based build system by the Android team.
Running tests locally
To run on a device connected via USB:
mvn install -Pintegration-tests -Dandroid.device=usb
To run on an emulator, start up an emulator, and set
android.device to the name of that emulator.
All files in this project are under the MIT license, see LICENSE for details.