Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 1008 Bytes

README.md

File metadata and controls

42 lines (33 loc) · 1008 Bytes

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: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