Thursday, June 21, 2007

Guicey Tests

Dick Wall of Java Posse fame wrote an article on testing with Guice for
In what I hope will be the first of several articles about Guice, a new lightweight dependency injection container from Bob Lee and Kevin Bourillion from Google, this article examines the simplest and most obvious use case for the Guice container, for mocking or faking objects in unit tests. In future articles I will examine other, more ambitious areas where it can be used, including dependency elimination in large code bases.
According to sources close to the story (a.k.a. Dick), the second installment is on its way.


Blogger Jesse Kuhnert said...

Awesome! I was wondering what it would look like using guice to actually help write unit tests. Looks good so far, hopefully the next installment will get in to more advanced scenarios / test problems that can be solved in new ways now. .

1:58 PM  
Blogger Krishna said...


We have published article on Google Guice.

6:36 PM  

Post a Comment

<< Home