Sauce Labs Visual for Espresso exposes Sauce Labs Visual Testing for your Android apps.
View installation and usage instructions on the Sauce Docs website.
Sauce Visual Espresso SDK uses Gradle.
gradlew
binary, that is included in the source, can be used as a replacement if you don't have Gradle.
You'll also need Android command line tools.
It can be installed either using Android Studio or using homebrew.
Finally, the library can be built using the following command:
./gradlew build
To run the smoke test you'll need a running Android Emulator.
You can start an emulator either from Android Studio or using command line.
Make sure that SAUCE_USERNAME and SAUCE_ACCESS_KEY environment variables are in place before running the test.
The smoke test can be run using the following command:
./gradlew connectedAndroidTest