Page MenuHomePhabricator

Add code coverage report for Android app code
Closed, DeclinedPublic

Description

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

Event Timeline

bearND created this task.Aug 11 2015, 8:36 PM
bearND raised the priority of this task from to Low.
bearND updated the task description. (Show Details)
bearND moved this task to Tech Debt Backlog on the Wikipedia-Android-App-Backlog board.
bearND added a subscriber: bearND.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 11 2015, 8:36 PM

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 https://integration.wikimedia.org/cover/

Dbrant closed this task as Declined.Mar 29 2018, 6:34 PM