Skip to content
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci update Jul 6, 2019
.idea add: add feature for accessing JSON API Jul 2, 2019
app update Jul 13, 2019
gradle/wrapper add: add feature for accessing JSON API Jul 2, 2019
.gitignore add: apple files Jul 2, 2019
LICENSE Initial commit Mar 5, 2019 update Jul 6, 2019
build.gradle tweak Jul 4, 2019 initial import Mar 5, 2019
gradlew initial import Mar 5, 2019
gradlew.bat initial import Mar 5, 2019
settings.gradle initial import Mar 5, 2019

uitest_sample_android CircleCI

What is this?

This is an ui test code sample of Espresso. The app is really a basic/template sample that is of Android Studio generated by selecting "Basic Acticity".

Where is the Test code?

UI Test(Instrumented Test)

The code is under app/src/androidTest/java/com/example/uitestsample

Unit Test

The code is under app/src/test/java/com/example/uitestsample

How to run the Test?

Run Test on GUI

To run the test, Android Studio must be installed, and also more than one virtual devices must be run in your computer. Then open UI Test code on Android Studio, then click the 'Play Button' locaeted next to line number.

In short:

  1. Clone this repository
  2. Install Android Studio
  3. Setup Virtual Device and Run it
  4. Open the UI Test code
  5. Click 'Play Button'

Run Test on CLI

At No.3 in the list above, CLI can be the alternatice way to run the Test.

Instrumented Test

$ ./gradlew connectedAndroidTest

Unit Test

$ ./gradlew test

However, this way does not always easy for all of developers. So, to get more information about to run on CLI in detail please refer to this page depending on your interest.


Apache License Version 2.0

You can’t perform that action at this time.