Top "Android-testing" questions

The Android testing framework

How to use VisibleForTesting for pure JUnit tests

I´m running pure JUnit4 java tests over my pure java files on my project but I can't find a …

java android junit junit4 android-testing
Espresso - How to check if one of the view is displayed

In my test, after one action, there are two possible views which can appear and both of them are correct. …

java listview android-testing android-espresso
AndroidJUnit4.class is deprecated: How to use androidx.test.ext.junit.runners.AndroidJUnit4?

For my instrumentation tests I was using @RunWith(AndroidJUnit4.class) from import androidx.test.runner.AndroidJUnit4; in order to establish …

android junit android-testing androidx
How do you test an Android application across multiple Activities?

We are building a complex Android application consisting of many screens and workflows spread across many Activities. Our workflows are …

android automated-tests integration-testing android-testing
Test running failed: Unable to find instrumentation info for: ComponentInfo{} -- error trying to test in IntelliJ with Gradle

Everytime I try to run my tests the console says this: Running tests Test running startedTest running failed: Unable to …

android gradle android-testing
Support Annotation does not exist after upgrading to Android Studio 3.0

After I upgrade my project to AndroidStudio 3.0-beta1, my androidTest files stopped compiling. A lot of packages are not found, …

android android-studio android-testing android-studio-3.0 gradle-android-test-plugi
Test run failed: Instrumentation run failed due to 'java.lang.ClassNotFoundException'

This is my first time setting up an Android test project to test a Android project. I've created a very …

android eclipse android-testing
Google Play Alpha/Beta testing link is broken

I have developed my app and have published it through Google Play for alpha testing. As one of the testers …

android google-play android-testing google-play-services
Espresso: return boolean if view exists

I am trying to check to see if a view is displayed with Espresso. Here is some pseudo code to …

java android android-testing android-espresso
Android alpha testing "Item not found"

I have published my app for alpha testing, but not able to download it from play store. I have opened …

android google-play android-testing