My favorites | Sign in
Google
                
Code license: Apache License 2.0
Labels: guice, junit, testing, google, java
Show all Featured downloads:
guiceberry-2.0.2.jar
People details
Project owners:
  zorzella, kev...@google.com, limpbizkit
Project committers:
lo...@google.com

GuiceBerry brings the joys of dependency injection to your test cases and test infrastructure. It leverages Guice to accomplish this. It allows you to use a composition model for the services your test needs, rather than the traditional extends MyTestCase approach.

GuiceBerry does not supplant your JUnit testing framework -- it builds on top of it (and works around it, when necessary), so you can run your tests normally, from your favorite command line or IDE environment.

Find a step-by-step tutorial at:

http://docs.google.com/Doc?id=dddf9mmq_2sjv9nkk4

There's also a presentation given by Zorzella available at http://www.youtube.com/watch?v=4E4672CS58Q. The slides for this can be found at http://docs.google.com/Presentation?id=dddf9mmq_4c6vw4pf2

News: GuiceBerry 2.0 released! See release notes at:

http://docs.google.com/View?id=dddf9mmq_25d6vmts5s