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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -