UI Testing with Kakao Tutorial for Android: Getting Started

In this UI Testing with Kakao tutorial for Android, you’ll learn how to create simple, readable UI tests using Kakao and why these are important. By Fernando Sproviero.

Leave a rating/review
Download materials
Save for later
Share
You are currently viewing page 3 of 3 of this article. Click here to view the first page.

Where To Go From Here?

Congratulations! You now know the basics of UI Testing using Kakao.

You can download the final project using the Download Materials button at the top or bottom of the tutorial.

As a challenge, you can add the following tests:

  • Scroll to the first item, which is not favorited, click it and verify it changes to the correct drawable.
  • Scroll to the second item, which is favorited, click it and verify it changes to the correct drawable.
  • Click on a recipe and check that the correct url is passed to the RecipeActivity. For this one you’ll need to make sure one of the recipes in the IngredisearchTestApp have a source URL.

The solution can be found in the materials for this chapter.

Here are other references related to the subject:

  • Espresso Cheatsheet: Check this cheatsheet to find ViewMatchers, ViewActions and ViewAssertions.
  • Unit Testing Tutorial: Check this tutorial to see other kinds of tests, where instead of UI you verify state and behavior of isolated classes.
  • TDD Tutorial: This tutorial will introduce you to Test Driven Development.
  • Google Testing Fundamentals: Check the Google reference here.
  • Espresso Guide: To know more about Espresso, check this reference.
  • You can also check this tutorial to know more about UI Tests using Espresso and Screen Robots to avoid code duplication.

I hope you enjoyed this tutorial. If you have any questions or comments, please join the forum discussion below!