- Support for provides definitions of Named/Qualifier annotated objects
- Support for @InjectFromComponent fields annotated with qualifier annotations
- Added
customizeBuilder
toDaggerMock
Kotlin class to wrap Java method - Fix to throw an exception only when constructor is annotated with
@inject
and a module methods doesn't exist
- Fixed Robolectric issue when used with Dagger-Android
- Added Dagger-Android support in Espresso tests
- New Kotlin module to simplify rule definition
- Improved Kotlin support (thanks lenguyenthanh for the pull request)
- New Kotlin examples using mock-maker/ dexopener and kotlin-allopen
- Added check to show clear error message when trying to mock static @Provides methods (thanks mikovali)
- Support for @Subcomponent.Builder
- Support for inheritance in test classes with InjectFromComponent annotation
- Support for lazy fields in InjectFromComponent annotation
- Fix to ignore static fields of test classes
- Removed fallback on not annotated fields to avoid problems with Named annotation
- Added check to throw exceptions on module final methods
- Exposed init method to not depend on Test annotation to use DaggerMock with frameworks like Cucumber (thanks danielocampo2)
- Support for inheritance in test classes
- Qualifier annotations support
- Added sources jar in distribution
- Improved nested dependent component support (thanks ChrisZou for the report)
- Support for Provider fields in InjectFromComponent definition
- Improved dependent component support (thanks plastiv for the report)
- Improved errors management on InjectFromComponent annotation processing
- SubComponent support
- InjectFromComponent annotation
- Added support for component dependencies (thanks jvanderwee!)