You can run single unit tests in the java plugin. Can you do such for android plugin now?
see http://www.gradle.org/docs/current/userguide/java_plugin.html#N1283D On Tuesday, 27 August 2013 19:54:56 UTC+1, Traun Leyden wrote: > > > I managed to get this working. Here's how I'm able to run a single test > via Android Studio and debug it: > > * Go into Run / Edit Configurations > > * Hit plus button, choose "Android Tests" > > * Choose the module where the test class is > > * Test: choose the "Class" radio button > > * Class: fully qualified class name > > * Hit Apply / OK buttons > > > Example: (screenshot <http://cl.ly/image/040x31051g2V>) > > After that you can choose that configuration, then hit debug, and it will > hit your breakpoints in that test class. > > Another way to debug tests is to kick them off via the gradle command > line, and then attach the debugger via Run / Attach debugger to Android > Process. > > (PS: if this was double-posted, sorry about that.. having some technical > issues with the Groups UI in the browser) > > > On Thursday, June 20, 2013 10:23:37 PM UTC-7, Xavier Ducrohet wrote: >> >> There isn't anything in gradle to do that right now. They are aware of it. >> >> >> On Wed, Jun 19, 2013 at 12:05 PM, Traun Leyden <[email protected]> >> wrote: >> >>> >>> I'm looking for a way to run a single test via the gradle command line >>> -- didn't someone recently post a workaround for this? >>> >>> After quite a bit of googling I couldn't manage to find this. Does >>> anyone know the link to this post? >>> >>> -- >>> 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. >>> >>> >>> >> >> >> >> -- >> Xavier Ducrohet >> Android SDK Tech Lead >> Google Inc. >> http://developer.android.com | http://tools.android.com >> >> Please do not send me questions directly. Thanks! >> > -- 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/d/optout.
