Sign in Go Pro

UI Testing with Espresso

Creating Custom ViewMatchers

This lesson is for PRO members.

Upgrade today to get access to all the PRO lessons.

Unlock this lesson
Autoplay

Up next

Previous

About

In this Lesson you will learn:

  • How to create a custom ViewMatcher
  • How to write a description that will show up in the test result window when test fails (to help with debugging tests)
  • How to use the custom ViewMatcher
  • How RealmRecyclerViewActions follow the same API as the regular RecyclerViewActions
  • How to assert that items are present and that scrolling can occur and that new items are now present

Links
- Hamcrest BaseMatcher
- Espresso Cheat Sheet
- Realm RecyclerView
- Realm Espresso Contrib
- RealmRecyclerViewActions.java and Checks.java
- Tasko Source Code

Comments

There are no comments on this lesson, start the conversation below ...

>
You need to go PRO to post comments.

Lessons in UI Testing with Espresso