Sign in Go Pro

UI Testing with Espresso

Android Testing – Getting Started with Espresso 2.0


Up next


In this screencast we cover how to set up your Android Studio environment to use Espresso 2.0. We talk about ViewMatchers, ViewActions and ViewAssertions and how to use them. We also demonstrate a simple TDD (Test Driven Development Method) implementation for the first test. At the end of this screencast, you should be able to set up your Android Application with the Espresso 2.0 Testing framework with Gradle and Android Studio.

You will need Android Studio installed in order to perform the same steps.




It's a little bit outdated. ActivityTestRule is in 'test-rules' support repository. Also, it should be in Kotlin.


This tutorial needs an update.

Hello Sumit, this is for Espresso 2.0. We are working on an Espresso 3.0 course at this time.

That's great!!!!
Any ideas when it's going to be ready?

Material is a bit outdated, needs an update!

Yes, it is a bit out of date, yet still valuable. We have other courses on
testing as well. Take a look here:

You need to go PRO to post comments.

Lessons in UI Testing with Espresso