android - Dagger 1 mocking modules in extended graph (example project included) -


i have problem mocking module dagger 1.

essentially i'd application-module provide 'global' bindings , activity-module add said module , provide bindings used in activities.

for testing added mocking capabilities. mocking binding application-module works fine, mocking binding activity-module not.

i created example project 2 out of 3 tests fail (those in check mock-dependency present).

https://github.com/mknudsen/dagger-module-overrides-example


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -