coverage never generates in com.android.test modules
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 38/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- java
- Domain
- mobile-dev, testing
Research direction
Start by reproducing the issue with the attached CoverageDemoApp.zip: run instrumented tests in the app and testmodule modules and compare their build/outputs/code_coverage directories. The work is done when the com.android.test testmodule generates the expected .ec coverage files there, matching the app module behavior.
Written by the indexing model from the issue text.
Description
com.android.test modules do not appear to produce any *.ec files for code coverage when running its test.
Steps:
- Download CoverageDemoApp.zip
- Run instrumented tests in the
appmodule. - Note that
app/build/outputs/code_coveragefolder contains coverage files - Run instrumented tests in the
testmodulemodule.
BUG: testmodule/build/outputs/code_coverage folder is empty
Attached project is just a new hello world Android project with a test module added in.
- Dominant language
- Java
- Stars
- 1.2k
- Forks
- 342
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 5
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from android/android-test
-
Difficulty 1/5 Under an hour Newbie friendliness 62/100
android/android-test#681 · 2 comments · 1 reaction ·
-
ξεκσνδξδ Open
Difficulty 5/5 Over a week Newbie friendliness 1/100
android/android-test#2499 ·
-
ησξξσ Open
Difficulty 5/5 Over a week Newbie friendliness 1/100
android/android-test#2498 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
android/android-test#2461 · 6 comments · 4 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
android/android-test#2456 ·
All issues in android/android-test
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
area/frontend
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100