-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Kover support for Android Gradle Plugin #96
Comments
Are we doing any development around this issue? |
@Vaibhav1412, unfortunately, at the moment we have not yet started implementing test instrumentation on Android devices. After assessing the complexity of the implementation of such functionality, we will be able to more accurately announce the terms. |
Any updates on how this might be progressing in development or somewhat of an ETA on when we might see this working? |
@jtomlinson, this issue is in the plans, but at the moment we are focused on making the API more convenient and adding support for filtering by flavors/build types. |
As I write this comment, my take on the status of using Kover for Android instrumentation tests is that it is not yet ready but that Jacoco is still usable to some degree. Is that a correct take? |
@pajatopmr, yes, at the moment, it is preferable to use JaCoCo for instrumentation tests. |
Any updates as to when Kover will support Android Instrumentation tests? If not, how can I pull in the coverage data from JaCoCo and combine it with Kover's so I can get a full report? |
Over a year since the last comment I was wondering if there have been any efforts been put into this issue? |
Yes, work is underway in this direction |
Thanks for working on this issue! Do you have an estimated timeframe for when it might be fixed? @shanshin |
Hi @shanshin, do you have any news on that? |
@shanshin I see this is for Milestone "Release 0.9.0", and I see there's a PR for "Release 0.9.0". Yet there's no update here? |
@johngray1965, This will allow us to integrate with Android Gradle Plugin without having to make changes to AGP itself. However, after the release of the new version of JaCoCo, even using only AGP, you will get a coverage measurement of comparable to Kover accuracy, since it has added support for inline functions |
The current implementation of the IntelliJ Coverage Agent allows you to run only Java tests running on the same machine where the Gradle build is running.
To implement coverage measurement on an Android device, it is necessary:
The text was updated successfully, but these errors were encountered: