I'll play around with it a bit more then. Its struggling to find the compiled resource classes for referenced projects (i.e. projectA depends on projectB; projectB classes are throwing a ClassNotFoundException about R classes).
On Wed, Jan 22, 2014 at 3:05 PM, Avram Lyon <[email protected]> wrote: > I'm using gradle-android-test-plugin 0.9.1 snapshot successfully with > Robolectric 2.3 snapshot, with no tweaks. > > *Avram Lyon* > Android wrangler | Scopely, Inc. > > Refer The Smartest Person You Know And Pocket $5,000! > * Learn more: scopely.com/referrals > <http://www.scopely.com/referrals/?page=4>* > > > On Wed, Jan 22, 2014 at 11:09 AM, Scott Battaglia < > [email protected]> wrote: > >> It does not appear to work out of the box with Robolectric 2.2 (or 2.3 >> snapshot) as far as I can tell (this doesn't seem like the thread to >> enumerate my issues :-)). Are you sticking with 2.1 (asking so we give >> guidance to the original poster)? >> >> Cheers, >> Scott >> >> >> >> On Wed, Jan 22, 2014 at 2:03 PM, Sean O'Neil <[email protected]> wrote: >> >>> It still works, even though Jake deprecated it. It's your best bet until >>> official support for JUnit tests is added to the build system. >>> >>> >>> On Wednesday, January 22, 2014 1:59:38 PM UTC-5, Scott Battaglia wrote: >>> >>>> Jake appears to have recently deprecated the plugin :-) >>>> >>>> (I only know this because I was trying to migrate and just checked the >>>> documentation again today because of some local issues) >>>> >>>> >>>> On Wed, Jan 22, 2014 at 11:28 AM, Sean O'Neil <[email protected]>wrote: >>>> >>>>> The Gradle based build system doesn't support JUnit tests yet. In the >>>>> mean time, check out Jake Wharton's Gradle Android test >>>>> plugin<https://github.com/JakeWharton/gradle-android-test-plugin> >>>>> . >>>>> >>>>> On Tuesday, January 21, 2014 3:42:47 AM UTC-5, Łukasz Strzelecki wrote: >>>>>> >>>>>> Hi >>>>>> I want create in 'easy way' Junit test for my application. >>>>>> >>>>>> Why? >>>>>> I have MVP design and dont want run whole application for test one >>>>>> class. Instrument Tests aren't what I'm looking for. >>>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "adt-dev" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to [email protected]. >>>>> >>>>> For more options, visit https://groups.google.com/groups/opt_out. >>>>> >>>> >>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "adt-dev" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "adt-dev" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- > You received this message because you are subscribed to the Google Groups > "adt-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "adt-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
