Awesome Open Source
Awesome Open Source

Google Dagger 2 (Demo)

Build Status codecov

Production code drive by Testing :)

Fully static, compile-time dependency injection framework for both Java and Android.

Configuration

build.gradle application module level
dependencies {
    ...
    implementation 'com.google.dagger🗡2.9'
    kapt 'com.google.dagger:dagger-compiler:2.9'
}

You can use libraries or tools.

  • RxJava2, RxAndroid2
  • Retrofit, OkHttp, OkHttp logging
  • Gson
  • Dagger 2

Testing framework

  • Junit
  • Mockito
  • Jacoco (Test coverage)
  • Espresso (UI Testing from Google)

CI Tools

  • Circle CI
  • Travis CI

Run UI-Test (Espresso)

./gradlew connectAndroidTest


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Kotlin (58,429
Android (40,328
Kotlin Android (3,037
Retrofit2 (1,845
Dependency Injection (1,820
Unit Testing (1,677
Rxjava2 (1,372
Rxjava (1,340
Dagger2 (1,254
Best Practices (868
Okhttp (361
Butterknife (289
Ui Testing (182
Junit4 (181
Related Projects