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. 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 adt-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
That s great news. I had quite a bit of code into my branch against AOSP but could not finalise it properly. I am taking a look at your PR and have couple of comments. Latest JaCoCo is 0.7-SNAPSHOT which seems to work better when it comes to instrumentation. I don't remember the specific of it but it would be beneficial to easily change the JaCoCo version. The agent obviously need to be mapped to the same version running on device.
I would also argue that having a map of key/value for instrumentation options is beneficial in may ways. Especially that is how one can pass information between the build tool/runner and the InstrumentationRunner on device. CoverageFile and others could be modified but also the likes of running single test/methods/classes could be pushed to that by the IDE.
You received this message because you are subscribed to a topic in the Google Groups "adt-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adt-dev/xr7hnrHKYmI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adt-dev+u...@googlegroups.com.
Current only 'connectedCheck' generate coverage