~/talk

Collecting Code Coverage With Bazel

Talkat BazelCon 2018 · 2018-10-09..10-10· [testing]
links:none on file
slides:none on file

Bazel instruments Java classfiles with Yakokco, wraps test runs in a coverage runner, and emits a single ELOV coverage file; library jars include instrumented classes and JaCoCo data is converted to ELOV on the fly. C++ builds produce GCNO/GCDA pairs (GCC only today), a GOV step turns those into an intermediate file and the coverage output generator merges them into ELOV. A combined report flag collapses per-test reports into one HTML-ready report; C++ coverage is experimental and Linux-only, LLVM support is planned.

AI-written summary · about

  1. 0:00Code coverage with Bazel
  2. 2:15Why coverage matters
  3. 3:20Bazel coverage challenges
  4. 4:45Goals for coverage
  5. 6:11Choosing LCOV format
  6. 7:59LCOV report structure
  7. 9:02Combined coverage reports
  8. 10:08Multi-language coverage
  9. 12:38Java coverage workflow
  10. 14:49C++ coverage workflow
  11. 17:19Future C++ and LLVM
  12. 18:46How Bazel computes coverage
  13. 21:39Summary and roadmap
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.