-
if the androidTest Code put in Project/tests/java folder not in Android Studio stardard foldler. (from elipse project, so the folder structure is this way)
the DaggerSimpleTest_SimpleComponent could …
-
if the androidTest Code put in Project/tests/java folder not in Android Studio stardard foldler. (from elipse project, so the folder structure is this way)
the DaggerSimpleTest_SimpleComponent could …
-
Based on MVP but using Dagger2 for dependency injection.
-
One of the problems with using Dagger 2 (particularly on Android) is the need to call a different method for every class that needs injection. E.g. see this article which speaks of it as an annoyance:…
-
### Description
We are trying to upgrade to Robolectric 3.1 from version 3.0 which has been very stable and predictable. We currently have 700 tests that take about 4 minutes to run. We use Dagger an…
-
Facebook APIs and Ledger APIs should be abstracted as interfaces that were injected by Dagger, because we need to switch to mock APIs for test cases.
Maybe we should make this another level of abstra…
-
I have this strange issue which I am facing recently. In Android Studio, after I build, I see that there are no compilation errors within the code (*Builder classes are available), but the build for s…
-
If I have a UseCase which is e.g. calculating a price for a specific user and therefore I need do load the current user from the DB/FileSystem etc. I'm violating the Law of Demeter. I can still unit t…
-
At the moment, Dagger generates `final class DaggerSomeComponent implements SomeComponent`.
Basically, I just want to `Mockito.spy(component)` to be able to override its behavior like `inject()` and…
-
Hi, I'm trying to create a DaggerMockRule in my test class. My component has a dependency with an application component, so I get an RuntimeException when I run the test (IllegalStateException: applic…