Category "android-instrumentation"

Android Studio - ActivityInstrumentationTestCase2 not found?

I am trying to unit test my MainActivty. My project cannot find ActivityInstrumentationTestCase2 and android.test package. I changed the target SDK to 27 to see

Disable Firebase initialization when running instrumentation tests for modules

I have a multi module project. I want to be able to run the instrumentation tests i'm writing for these modules separately. I am continually running into the

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 of them while I'm getting following error when I try t