Top "Android-espresso" questions

Espresso is a library which is used to write Android UI tests.

Unresolved reference ActivityTestRule for AndroidX

I'm trying to test my UI via instrumentation test, with androidX espresso library. In my grade I have: apply plugin: …

android testing kotlin android-espresso androidx
How to detect whether android app is running UI test with Espresso

I am writing some Espresso tests for Android. I am running in the the following problem: In order for a …

android android-espresso ui-testing
Android Studio doesn't recognize Espresso classes

I'm running Android Studio 0.5.0 with Gradle 1.11. I'm trying to install Espresso library from com.jakewharton.espresso:espresso:1.1-r2. For some …

gradle android-studio android-espresso
Can I extend a custom Application in Espresso?

I'm attempting to set up Dagger in my Espresso instrumentation tests in order to mock out calls to external resources (…

android dagger android-espresso
Testing Snackbar show with Espresso

Is there a way to test using Espresso that the snackbar shows up with the right text? I have a …

android integration-testing android-testing android-espresso android-snackbar
Android testing: Waited for the root of the view hierarchy to have window focus

In Android Ui testing, I want to click on a spinner item in a dialog, but it pop up with …

android automated-tests android-uiautomator android-espresso
getActivity() call causes RuntimeException: Could not launch intent Intent act=android.intent.action.MAIN

Updated #1: more info added to the end of this post I'm new to Android development and testing. I have three …

android eclipse runtimeexception android-espresso
Espresso match first element found when many are in hierarchy

I'm trying to write an espresso function to match the first element espresso finds according to my function, even when …

android testing android-espresso
android.support.test.espresso.NoActivityResumedException: No activities in stage RESUMED

I'm trying to write test cases for my activities. I have several activities and there is no issue for one …

android android-espresso android-instrumentation
android espresso login once before running tests

I've been trying to cover my Android app with tests and have started using espresso recently. Pretty impressed with it …

android junit4 android-espresso ui-testing