Joan Colmenero
04/30/2020, 11:12 AMjava.lang.RuntimeException: android.app.Application does not implement dagger.android.HasAndroidInjectorAny idea, why? It only happens with UI tests, the app runs and everything is injected correctly.
Jovan
04/30/2020, 11:15 AMwasyl
04/30/2020, 11:19 AMAndroidJUnitRunner
) and override fun newApplication
method to call something like super.newApplication(cl, TestApplication::class.java.name, context)
android.defaultConfig.testInstrumentationRunner = <your custom runner>
Joan Colmenero
04/30/2020, 11:23 AM