Skip to content
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

Generate coverage report with Jacoco #190

Open
evgenipc opened this issue Nov 29, 2023 · 1 comment
Open

Generate coverage report with Jacoco #190

evgenipc opened this issue Nov 29, 2023 · 1 comment
Labels

Comments

@evgenipc
Copy link

evgenipc commented Nov 29, 2023

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

@itskoBits
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants