Last updated: Dec 06, 2016 11:22
Just as Perfecto's DevTunnel feature can be used to provide real devices for the development and debugging cycle, the same feature allows the developer to run and debug his Espresso unit tests on real devices.
Use the builtin Android Studio support for running Espresso unit tests to run and debug your unit tests. Simply:
- Open the Perfecto Lab device with the Android Studio plugin
- Connect the device to your development station with DevTunnel, and
- Use the Run or Debug icons in Android Studio, selecting your connected device in the Select Deployment Target window, to run your tests.
The following video shows a simple Espresso debug session: