X Tutup
The Wayback Machine - https://web.archive.org/web/20210118031918/https://github.com/mfdeveloper/android-uitest
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Android UI tests - Example Application

This is a Android example app to study purposes about UI instrumentation tests, using Espresso framework.

For this example, we are using the Login Activity Android Studio template

Screenshot

First Screen

Getting Started

  1. Clone this repo

  2. With Android Studio, click on File => Open and select the cloned folder

  3. Open the class LoginBehaviorTest and click on green arrow beside of the method performAuth_sameActivity()

    Or, right-click on the test class in the projects panel, and select Run.

    Obs: More explanation about running tests, see this link: Running Espresso tests

  4. Choice a avd emulator. The UI test will run like the screen below:

Login UI Test

Links: tutorials and questions

The refence links below contains tutorials and helpers about Android testing.

Google (official documentation)
Questions - Errors, Exceptions and Doubts
Tutorials

About

A basic android UI test example application using Espresso framework

Topics

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.
X Tutup