How does AtUnit fare with respect to unit testing using DI and guice ?. Please share yo开发者_Python百科ur experiences.I have found it works rather well and is very simple to use. In my case though, a
When I run my Junit4 tests now I use the @RunWith(Spr开发者_JAVA技巧ingJUnit4ClassRunner.class) annotation which allows me to inject Spring Beans into my test class.