Created with purpose to separate all Modules into independent module, easy to maintain, testing and develop.
For some reason, there are several issue for testing separate modules while using dependency injection(Dagger). Each module has to create mocking dagger modules and component/s.
But, with Dagger 2 Android all the pain setup could be gone by simpy intercept the injection process.
activity test easy as it looks :
@get:Rule
val rule = InjectedActivityTestRule(YourActivity::class.java,
dispatchingActivity<YourActivity> {
it.presenter = mock()
})- Dagger 2 for dependency injection (DI)
- Retrofit for network calls
- OkHttp for network interceptor(Debugging and so on)
- RxJava 2 for reactive programming
this project original source : Here
as i lost the credential and cant recover, i've decided to move the project here to my current github account