I would rather see this been done directly in AOSP than on github and then
moved to AOSP so that we can keep all the discussion on the same place.

I'm guessing the deviceaction is used by your jacoco plugin?

We're going to work on code coverage very soon, so this is timely, but be
aware that we're thinking about focusing first on jacoco support (emma
seems to be mostly abandoned at this point).

We may want to offer hooks for other third party solutions but we'll
probably want jacoco to be built-in. What's your end goal with your current
plugin?


On Fri, Apr 4, 2014 at 8:52 AM, Carl-Gustaf Harroch <[email protected]> wrote:

> Xavier, I have an initial Pull request available against latest idea33 to
> provide instrumentaiton options to the plugin. I pushed it to Github to
> give visibility and discussion:
> https://github.com/novoda/android-tools-base/pull/2
>
> It does touch on a couple of files and notions (especially the idea of
> DeviceAction which could be explored further).
>
> The actual code coverage is done separately here and is still being worked
> on:
> https://github.com/novoda/gradle-android-jacoco-plugin
>
> Let me know your thoughts. Happy to push it back into aosp if it meets
> criteria.
>
>
> On Monday, 17 March 2014 22:24:42 UTC, Xavier Ducrohet wrote:
>
>> We haven't started work there. We would definitively accept
>> contributions. thanks.
>>
>>
>> On Mon, Mar 17, 2014 at 3:19 PM, Carl-Gustaf Harroch 
>> <[email protected]>wrote:
>>
>>> I managed to get JaCoCo running within Gradle (preDex, postCompile)
>>> while running a manual "adb am instrument..." as Exec command. This suits
>>> my needs but was wondering what the current status is? I could provide a
>>> patched version of DeviceProviderInstrumentTestTask that would add
>>> instrumentation functionality as part of the testOptions similar to
>>>  testOptions { coverage: true }. This could be extended to take any
>>> argument as defined 
>>> here<http://developer.android.com/reference/android/test/InstrumentationTestRunner.html>.
>>> Is this a work in progress ATM?
>>>
>>> --
>>> 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.
>>>
>>
>>
>>
>> --
>> 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.
>



-- 
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.

Reply via email to