-
The `DemoApplication` exposes a `setComponent` method to the outside world. I understand you need to do that in order to make your tests set the test component to provide mocks, but anyone can call th…
-
For ex : -
I have ControllerA & ControllerB in my application. ControllerA has ControllerB injected in it and ControllerB has ControllerB injected as in it.
Do you think that this can be the cause o…
-
Does Espresso allow a way to run setup code for tests using `AndroidJUnit4.class` before Application.onCreate() is called by Instrumentation?
I am using Dagger 2 to inject dependencies in Applicatio…
-
I think what it needed to pass CallAdapterFactory to MockRetrofit or create ObservableBehaviorAdapter. If I use MockRetrofit, created with Retrofit with RxJavaCallAdapterFactory, then I get the ClassC…
Tolsi updated
8 years ago
-
i am using Retrofit successfully and currently i'm facing with ActivityInstrumentationTestCase2 to test my app therefore Retrofit. With classical test cases i'm running ok, but i have no the right con…
-
Every test fails with the following exception:
java.lang.IllegalArgumentException: java.net.URISyntaxException: Illegal character in path at index 21: file:/C:/Users/Moritz Post/.m2/repository/org/r…
mpost updated
8 years ago
-
Hey! First of all, thank you for a great sample! I have a question according to presenters mocking. Some time I go I adopted architecture proposed by @hitherejoe in his Android-Boilerplate project. H…
-
Hello,
I am wondering if there is a way to initialize an activity, without calling the onCreate() method, then set some mocks on that activity, and only after that carry on with the onCreate() method…
-
**WANT TO HELP REWRITE THE APP?**
See https://github.com/the-blue-alliance/the-blue-alliance-android/issues/366#issuecomment-108135342
---
This ties in with #330 - we should really do a global rewr…
-
I struggle to find a good reference for how Dagger is used to inject dependencies in unit tests, especially when fragments and activities are involved.
I believe we're at our 3rd round of rewriting t…