Android UI testing code lab for DevFest Ukraine 2016
Java
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
01-uiautomator
02-espresso
03-test-recorder
04-monkey
.gitignore
LICENSE
README.md

README.md

Android UI testing Code Lab

The goal of this code lab is to recognize and try UI testing on Android platform. We develop couple of tests using Android's UI Automator and Espresso libraries as well as try some tools like Android test recorder and Monkey.

You will learn:

  • how to write Android UI tests using UI Automator library
  • how to write Android UI tests using Espresso library
  • how to use Android Test Recorder
  • how to use Monkey tool

Download the prepared project for every step from Github and open it in Android studio. Everything important is prepared for you. The Code Lab is divided into parts.

Part 1 - UI Automator

In this part of the code lab we create Android test using UI Automator library.

Let's dive into UI Automator

Part 2 - Espresso

In this part of the code lab we create Android test using Espresso library.

Let's dive into Espresso

Part 3 - Test recorder

In this part of the code lab we learn to use Test Recorder tool.

Let's dive into Test recorder

Part 4 - Monkey

In this part of the code lab we learn to use Monkey tool.

Let's dive into Monkey

More resources