Sign in Go Pro

UI Testing with Espresso

ViewMatchers, ViewAssertions, ViewActions, UiAutomatorView, Debugging and Your First Test

This lesson is for PRO members.

Upgrade today to get access to all the PRO lessons.

Unlock this lesson

Up next

Previous

About

In this Lesson you will learn: - What View Matchers are and how to use them - What View Assertions are and how to use them - What View Actions are and how to use them - How to write a test that validates different screens are loaded. - How to debug tests when view are not found with view matchers - How to use the UIAutomatorViewer to speed up test development - Best practice for finding views (use the ID not string literals!) - How to click on buttons with Espresso - How to enter text into EditText widgets with Espresso - How databases are cleaned before each test run (using Realm). Links - [Espresso Cheat Sheet](https://google.github.io/android-testing-support-library/docs/espresso/cheatsheet/) - [Tasko Source Code](https://github.com/CasterIO/Tasko)

Lessons in UI Testing with Espresso