-
Notifications
You must be signed in to change notification settings - Fork 12
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
Instrumentation tests coverage fix #358
Comments
ekigamba
added a commit
that referenced
this issue
Sep 6, 2022
- Enable testCoverage only for instrumentation tests and disable the flag after - Add the path for the new instrumentation test coverage ec file Relates to #358
ekigamba
added a commit
that referenced
this issue
Sep 6, 2022
- Enable testCoverage only for instrumentation tests and disable the flag after - Add the path for the new instrumentation test coverage ec file Relates to #358
ekigamba
added a commit
that referenced
this issue
Sep 6, 2022
- Enable testCoverage only for instrumentation tests and disable the flag after - Add the path for the new instrumentation test coverage ec file Relates to #358
ekigamba
added a commit
that referenced
this issue
Sep 6, 2022
- Enable testCoverage only for instrumentation tests and disable the flag after - Add the path for the new instrumentation test coverage ec file Relates to #358
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue came up after updating AGP in this PR
Reduced coverage by 10%
buildType.debug.testCoverageEnabled
is set totrue
. With this option set to false, gradle does not find the task'createDebugCoverageReport
which is used to run instrumentation tests with coverage reporting. These tests contribute to a fraction of thetest coverage.
Below is the difference especially in the
sample
module where the tests are mostly instrumentation testsBefore
After
The text was updated successfully, but these errors were encountered: