Hi,

It is my understanding that one of the main reasons for using Guice is
that it is difficult to ensure that static state (such as singletons)
get reset across JUnit tests. Isn't that what ClassLoaders are for?

What's the advantage of using Guice versus a JUnit runner that simply
uses a different ClassLoader per test to ensure that static state gets
reset?

Thanks,
Gili
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to