Source
In this introductory episode of Android Testing Patterns, Wojtek Kalicinski introduces the two main types of tests that you will write for your app. Running Unit Tests and Instrumented Tests is both supported by Android Studio and we offer some great tools for testing in the Android Testing Support Library. One of them is Espresso, a UI testing framework that we'll concentrate on in Season 1 of ATP.