commit | f044b7cf96542c469a1327f0cc6d9cdfdec4503d | [log] [tgz] |
---|---|---|
author | Prakhar <pasthana@google.com> | Wed Jul 01 06:17:47 2020 |
committer | Prakhar <pasthana@google.com> | Wed Jul 01 06:17:47 2020 |
tree | 1752b996f5e6423c1f4cebc4437a49d13af47e3a | |
parent | e2cda7556ef4d3105e82b8f931608ffe9409ca1d [diff] |
Java changes corresponding to plugin migration Bug: 1090049 Change-Id: I7b718729cf5e47927163d293363a2ec2a911d81b
The purpose of this plugin is to surface code coverage data on Gerrit UI.
To check out the chromium-coverage plugin code:
git clone https://chromium.googlesource.com/infra/gerrit-plugins/code-coverage
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.
ln -s /path/to/chromium-coverage.html plugins/
This plugin is configured via the project.config
file present in the repo's refs/meta/config
ref. This file uses git config format. By default, the coverage percentage columns in the file list are hidden to avoid visual distraction in unrelated projects, and in order to have them displayed, please add the following config:
[plugin "code-coverage"] enabled = true