Por Thiago Lopes Silva
Hello my friends. It’s been a while since I’ve been writing here, right ? let’s go further and learn how to create a custom ViewMatcher for espresso on specific scenarios of testing.
Before going further I recommend you to take a look at this post to learn a few about espresso and this one to learn about the Hamcrest library. It’s used a lot by espresso to match views and do tests that will be our focus on this post.
Sometimes when you are doing e2e tests you need to create custom Matcher that attend your business rules. I will tech you how to solve this particular problem using a great feature named ViewMatcher.
Leia o restante do post clicando aqui.