Espresso is a testing framework for running user interface tests on Android devices. Sauce Labs offers the option to run Espresso and UI Automator tests against our real device cloud using our test runner, which is parameterized for use in CI/CD environments, in addition to being able to run Espresso and UI Automator tests from the web interface.
Requirements for Using Espresso with Sauce Runner for Real Devices
- Set up your project
- Have the .apk files for both your app and tests
Download the .jar file of the latest version 1.8 of Sauce Labs Runner
Make sure you have Java 8 or later installed on your local machine
Configuring Sauce Runner for Real Devices for Espresso Testing
The Command Reference for Sauce Runner for Real Devices contains a list of the options you can use to configure Sauce Runner to run tests with Espresso.