DevTunnel for Espresso unit tests

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 built-in Android Studio support for running Espresso unit tests to run and debug your unit tests. Simply:

  1. Open the device in Perfecto, in the Manual Testing view.
  2. Connect the device to your development station with DevTunnel.
  3. 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: