android-testify icon indicating copy to clipboard operation
android-testify copied to clipboard

Generate coverage report with Jacoco

Open evgenji-san opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. Generate jacoco coverage report based on screenshotTest task. Currently, to generate a coverage report for instrumented tests you have to add enableAndroidTestCoverage = true in your build.gradle and run the snapshtot tests with connectedDebugAndroidTest task. Swapping the depending task for the report to screenshotTest does not generate the .ec file needed for coverage report.

This feedback relates to:

  • [ V] The Gradle plugin

Describe the solution you'd like To generate jacoco coverage report using the screenshotTest task.

Describe alternatives you've considered Using connectedDebugAndroidTest instead of screenshotTest. However, this way we can't use the extra features from the testify tasks and also can't use the testify bitrise build step.

Additional context

evgenji-san avatar Nov 29 '23 10:11 evgenji-san

Any update regarding that? We want to track code coverage as well.

itskoBits avatar Apr 11 '24 08:04 itskoBits