<How can I fake dagger injection for Instrumented ...
# stackoverflow
u
How can I fake dagger injection for Instrumented test in dynamic-feature modules? I have a simple Note Taking Application. The Application has an app gradle module and editnote gradle dynamic feature-module. Hence my editnote gradle module will depend on app gradle module [because feature-module is not not resolved at the compile time] My app contains an ApplicationModule dagger module and ApplicationComponent. Similarly my editnote contains EditNoteModule and EditNoteComponent. @Module open class EditScreenModule { @Provides @Named("TutorialText") open fun...