Re: @ImplementedBy for tests?

2014-10-29 Thread Stephan Classen
Jukito has 5 main features - taking care of the boiler plate code to create the injector. - introducing a new scope "TestSingleton" which is similar to Singleton except that it is cleared after each test method. So you get a fresh instance for the every test method but within the test method th

Re: @ImplementedBy for tests?

2014-10-29 Thread Kevin Burton
Yes. I think I'm going to back out the ImplementedBy support in a few weeks. Long story but it requires some refactoring. And I couldn't wrap my head around Jukito but maybe I need to spend some time on it. I guess it just auto-creates mocks for me. Kevin On Tuesday, October 28, 2014 11:2

lazy/on-demand binding?

2014-10-29 Thread stephanos
Hey there, we are using Guice on App Engine. One trick we have used is to annotate all classes we want to bind to Guice with @AutoBind and use the fantastic classindex library to simply read them all from a compile-time generated file. No classpath scanning