开发者

Library to help use Guice in Integration Tests

开发者 https://www.devze.com 2023-01-26 08:28 出处:网络
What libraries would you re开发者_开发问答commend that helps remove boilerplate code, when using Guice from integration tests?

What libraries would you re开发者_开发问答commend that helps remove boilerplate code, when using Guice from integration tests?

E.g. AtUnit


I actually find that Guice boilerplate is fairly minimal in my integration tests. I keep my modules very small and independent so that I can just tie the ones together that I need for that test and get tends to make the injector creation step quite small as well. Rather than using an external library i might just use a superclass of a set of JUnit tests to automatically create and inject certain objects that i'm testing. I'd be interested to hear if any libraries exist to make this easier.

0

精彩评论

暂无评论...
验证码 换一张
取 消