Page MenuHomePhabricator

Add code coverage report for Android app code
Closed, DeclinedPublic


When a new patch gets uploaded (and the tests run T62720) add a report for code coverage.

Event Timeline

bearND raised the priority of this task from to Low.
bearND updated the task description. (Show Details)
bearND added a subscriber: bearND.

I had slightly mixed experiences with Android code coverage in the past. It really blew out the build time when instrumenting the code (note: cannot be the same artifact released) and I seem to recall the test code must be explicitly excluded when calculating coverage percentage. I think is a task worth striving for but the road might be a little bumpy.

hashar added a subscriber: hashar.

We now have a Jenkins job running from Gerrit and making use of the Android Emulator (was T62720). So I guess we can reuse what we learned there and generate a coverage report somehow.

Maybe on a daily basis? We have some reports being generated for other repositories under