ndtp / android-testify

Add screenshots to your Android tests
Other
99 stars 5 forks source link

Generate coverage report with Jacoco #190

Open evgenipc opened 7 months ago

evgenipc commented 7 months ago

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:

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

itskoBits commented 2 months ago

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