Clone this repo:

Branches

  1. 213d226 [code coverage] Switch to new code coverage UI in Gerrit by Yuke Liao · 3 weeks ago master
  2. cdf469b [code coverage] Only highlights added lines in coverage plugin by Yuke Liao · 5 months ago
  3. 5ce56db [code coverage] Increase start sleep time by Yuke Liao · 5 months ago
  4. 12bfdbe [code coverage] Update JSDoc comments by Yuke Liao · 5 months ago
  5. 2897019 [code coverage] Reuse change and revision info by Yuke Liao · 5 months ago

Chrome/Chromium Code Coverage Plugin

The purpose of this plugin is to surface code coverage data on Gerrit UI.

Development

Checking out the code

To check out the chromium-coverage plugin code:

git clone https://chromium.googlesource.com/infra/gerrit-plugins/code-coverage

Running the tests

The unit tests of the plugin are web-component-tester unit tests. Dependencies are specified in bower.json and can be installed by running bower install in this directory. This requires bower to be installed.

To run the tests, run wct from this directory. See wct --help for more options.

To use with the local testsite

ln -s /path/to/chromium-coverage.html plugins/