As of yesterday's Google IO Keynote, there seems to be a major update in the way we do UI testing in our projects.
Automated testing is about to see a huge step forward thanks to a new test recorder feature. Developers will be able to start a recording and start using their app. As each action is performed, it is turned into Espresso code that can be played back across a number of platforms, including Google's Cloud Test Lab. This will likely cut time to write tests to a tenth of what it took in the past.
I installed the latest version of Android Studio 2.2 Preview 1 and I am wondering what should I do to enable this feature.