For unit testing use mocks, for integration testing you can use guice. On Jan 27, 3:04 pm, tul32 <[email protected]> wrote: > On 27 Jan., 23:44, Bob Lee <[email protected]> wrote: > > > I would just construct MyGuiceApp directly, passing it mocks. You > > don't need Guice in your unit tests. > > > Bob > > Ok thanks for the tip! This was also the approach that could be picked > up from this post: > > http://groups.google.com/group/google-guice/browse_thread/thread/21e9... > > But if my unit-test are supposed to be guice free what is the purpose > of guiceberry: > > http://code.google.com/p/guiceberry/ > > Or am I confusing this with something else?
-- You received this message because you are subscribed to the Google Groups "google-guice" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-guice?hl=en.
