Closed Bug 1469600 Opened 6 years ago Closed 6 years ago

[meta] Add Code Coverage for Java code

Categories

(Testing :: Code Coverage, enhancement)

Version 3
Unspecified
Android
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gabriel-v, Assigned: gabriel-v)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Keywords: meta)

      No description provided.
Basic outline:

- get experimental fake android setup (https://hg.mozilla.org/try/rev/e933ad0c85ef1acfcb3184e53a4be294ee014acf#l1.2) and check that it works 
- set it up with CI, either:
  - new coverage build, separate from android (because we don't want to run coverage every commit, but every patch set)
  - add coverage to android build (simpler to do)
- add parsing these XML files that come out of jacoco into grcov (see https://github.com/marco-c/grcov/issues/92)
Depends on: 1471408
Depends on: 1471646
Assignee: nobody → tvijiala
Depends on: 1471660
Depends on: 1473313
Code coverage for A(test) is done in bug 1471660, now called A(test-ccov), runs on central.

Code coverage for A(gv-junit) is in progress, bug 1473313.

Code coverage for A(gv) is not applicable, as that suite only tests that the geckoview_example app starts in 60 seconds: https://dxr.mozilla.org/mozilla-central/rev/085cdfb90903d4985f0de1dc7786522d9fb45596/testing/mochitest/rungeckoview.py#139
Depends on: 1475256
Depends on: 1487791
Depends on: 1489236
I think we can call this fixed, bug 1489236 is not really blocking us collecting the Java coverage data.
The only thing missing now is showing it :)
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.