In these kind of situations I usually create an injector
specifically for this test (or group of tests) and bind only the
required classes (mostly mocks and rarely an actual class). Frameworks like juktio help a lot in cutting down the boiler plate code when creating specific injectors for tests On 08/21/2014 10:10 PM, Maatary Okouya
wrote:
-- You received this message because you are subscribed to the Google Groups "google-guice" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-guice+unsubscr...@googlegroups.com. To post to this group, send email to google-guice@googlegroups.com. Visit this group at http://groups.google.com/group/google-guice. To view this discussion on the web visit https://groups.google.com/d/msgid/google-guice/53F65361.7080607%40gmx.ch. For more options, visit https://groups.google.com/d/optout. |
- Module, Test and Mock Maatary Okouya
- Re: Module, Test and Mock Stephan Classen
- Re: Module, Test and Mock Thomas Broyer
- Re: Module, Test and Mock Maatary Okouya
- Re: Module, Test and Mock Stephan Classen
- Re: Module, Test and Mock Maatary Okouya
- Re: Module, Test and Mock Stephan Classen
- Re: Module, Test and Mock Maatary Okouya
- Re: Module, Test and Mock Tavian Barnes