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

Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Testing (93,938
Kotlin (46,582
Continuous Integration (12,586
Dependency Injection (8,589
Rxjava (4,234
Junit (3,500
Kotlin Android (2,679
Unit Testing (2,099
Retrofit2 (1,817
Dagger (1,811
Okhttp (1,714
Dagger2 (1,308
Espresso (1,046
Rxandroid (816
Butterknife (806
Jacoco (453
Ui Testing (277
Espresso Tests (114
Testable (14