DevTunnel for Espresso unit tests

Just as DevTunnel can be used to provide real devices for the development and debugging cycle, you can use the same feature to run and debug your 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. Do the following:

  1. Open the device in Perfecto, in the Manual Testing view view.
  2. Connect the device to your development station with DevTunnel.
  3. Use session sharing to run your test on the connected device.