سؤال

I'm searching the Web and still, not found nothing on how to integrate Robolectric 2.0 with RoboGuice 2.0, I also use Mockito as Mocking Framework, and there's no problem with it. Just don't know how to integrate Robolectric with RoboGuice.

Is there any guide or way to integrate them? Robolectric 2.0 lacks of documentation

Thank you very much.

هل كانت مفيدة؟

المحلول

Have you checked Astroboy example?

You can find code with Robolectric tests here - https://github.com/roboguice/roboguice/tree/master/astroboy

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top